Skip to content

Commit

Permalink
fix version for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
aeflores committed Sep 14, 2023
1 parent 1199f39 commit 1cca75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ docker-image-vars:
script:
- GTIRB_BRANCH=$([[ $CI_COMMIT_REF_NAME =~ ^release-.* ]] && echo "release-$GTIRB_VERSION" || echo "master")
- GTIRB_PPRINTER_BRANCH=$([[ $CI_COMMIT_REF_NAME =~ ^release-.* ]] && echo "release-$GTIRB_PPRINTER_VERSION" || echo "master")
- echo "VERSION=$(awk '{s=(NR==1?s:s".")$2}END{print s}' version.txt)" >> .env
- VERSION=$(awk '{s=(NR==1?s:s".")$2}END{print s}' version.txt)
- echo "GTIRB_BRANCH=$GTIRB_BRANCH" >> .env
- echo "GTIRB_PPRINTER_BRANCH=$GTIRB_PPRINTER_BRANCH" >> .env
- echo "GTIRB_COMMIT=$(git ls-remote https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/rewriting/gtirb | grep "refs/heads/$GTIRB_BRANCH\$" | awk '{print $1}')" >> .env
Expand Down

0 comments on commit 1cca75e

Please sign in to comment.