Skip to content

Commit

Permalink
new workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodz committed Jan 12, 2023
1 parent 894c6b2 commit f9b8129
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
VERSION_VALUE=$(cat $VERSION_FILE)
MAX_BRANCH_LENGTH=40
FIXED_BRANCH=$(echo ${GITHUB_REF:11:${MAX_BRANCH_LENGTH}} | sed 's/[^[:alnum:]]/-/g')
NEW_TAG="$VERSION_VALUE-${FIXED_BRANCH}.$(date +%Y%m%d-%H%M%S)"
NEW_TAG=$(echo "$VERSION_VALUE-${FIXED_BRANCH}.$(date +%Y%m%d-%H%M%S)")
git tag ${NEW_TAG}
git push origin ${NEW_TAG} --force
- name: Print new tag
run: echo "NEWTAG ${NEW_TAG}"

0 comments on commit f9b8129

Please sign in to comment.