Skip to content

Commit

Permalink
handle characters before number if any
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Jul 12, 2022
1 parent bb973e3 commit a358f7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
- name: Set version
run: |
tag_name="${GITHUB_REF##*/}"
tag_value="${tag_name:1}-ice36"
tag_name=$(grep -o '[0-9].*' <<< $tag_name)
tag_value="${tag_name}-ice36"
echo "omero.version=$tag_value" >> etc/local.properties
- name: Build and package
run: ./build.py build-dev release-all release-src
Expand Down

0 comments on commit a358f7c

Please sign in to comment.