Skip to content

Commit

Permalink
Fix pipeline. Tag step didn't work (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam authored Nov 19, 2021
1 parent c20c8e6 commit cecd999
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ tag-job:
- apt-get update && apt-get install -y ssh
- eval $(ssh-agent)
- ssh-add - <<< ${GITHUB_SSH_PRIV_KEY}
- mkdir ~/.ssh && touch ~/.ssh/known_hosts
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- export CURRENT_TAG=$(git describe --tags --abbrev=0)
- export PKG_VER=v$(cat Cargo.toml | grep -A 5 package] | grep version | cut -d '=' -f 2 | tr -d '"' | tr -d " ")
- echo "Current tag $CURRENT_TAG"
Expand Down

0 comments on commit cecd999

Please sign in to comment.