Skip to content

Commit

Permalink
more CI/CD fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
routerino committed Jul 27, 2022
1 parent 4b77ea7 commit 7a49469
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
id: gathervars
run: |
# get a current BUILD_DATE
VERSION=$(jq -r '.version' ./package.json)
echo "::set-output name=BUILD_DATE::$(date +%Y%m%d-%H%M%S)"
echo "::set-output name=VERSION::$(jq -r '.version' ./package.json)"
echo "::set-output name=VERSION::$VERSION"
# setting tags
if jq -r '.version' ./package.json | grep -q "beta"; then
if echo "$VERSION" | grep -q "beta"; then
TAGS="beta, $VERSION, latest"
PRIMARY_TAG=latest
else
Expand Down

0 comments on commit 7a49469

Please sign in to comment.