diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-31 14:20:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 14:20:40 -0400 |
commit | e637408b4af41a5c2b74b160fb37438d4e56cccc (patch) | |
tree | 6e9ff322422ac0e5b0ae061d36435f5276b050ee /.github/workflows/ci.yml | |
parent | 983cdd233913cbd2155508dc0f4f452f7cda3626 (diff) |
Auto update manifest version (#1724)
* Update manifest to auto-fill the version based on most recent git tag
* Install git in the CI pipeline
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d928ffa1..fdb1ba67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,13 @@ jobs: uses: actions/setup-node@v1 with: node-version: '12.x' + - name: Set up git + run: | + sudo apt-get install -y git + git --version + git fetch origin $(git branch --show-current) --unshallow --tags > /dev/null 2> /dev/null + git status + git describe - name: Install dependencies run: npm ci - name: Lint |