diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 020cc6cdb4a..4cfa958cccc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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