fix: semantic versioning in workflow
This commit is contained in:
parent
dc2c0c1027
commit
13074a0f72
1 changed files with 1 additions and 1 deletions
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
VER=$(grep -E -o "versionName \".*\"" app/build.gradle | sed -e 's/versionName //g' | tr -d '"')
|
VER=$(grep -E -o "versionName \".*\"" app/build.gradle | sed -e 's/versionName //g' | tr -d '"')
|
||||||
SHA=${{ github.sha }}
|
SHA=${{ github.sha }}
|
||||||
VERSION="$VER.${SHA:0:7}"
|
VERSION="$VER+${SHA:0:7}"
|
||||||
echo "Version $VERSION"
|
echo "Version $VERSION"
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue