GithubHelp home page GithubHelp logo

git_release's Introduction

说明

检测目标文件夹下所有的 git 仓库,获取master分支最新的git tag的信息,根据用户设置的规则,一次性对所有非最新tag的仓库(检测master分支)打上新tag并推送。 同时返回所有修改记录。

在未有新commit的情况下程序返回目前最新tag

Windows使用说明

  1. 下载 bin目录下的exe文件和user.default.toml文件
  2. 配置 环境变量 (可选)
  3. 修改 user.default.toml文件名,修改为 user.toml
  4. 修改 user.toml 文件中huawei段的账户信息
  5. 执行 git_release.exe即可

如果没有配置环境变量,需要把exe放置到文件夹内执行,或者通过--path指定工作目录

如果配置了环境变量,可以直接在任意目录执行git_release.exe,会自动获取当前目录

MacOS使用说明

类似Windows使用说明

华为云API调用顺序

  1. KeystoneValidateToken //校验TOKEN是否有效
  2. KeystoneCreateUserTokenByPassword // IAM用户登录获取TOKEN
  3. ShowJobListByProjectId //查询任务列表
  4. RunJob // 执行任务
  5. ShowHistoryDetails // 查看任务结果

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.