mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Fix autobump workflow (#2298)
This commit is contained in:
parent
942d5d29d2
commit
2b8547878a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/version-auto-bump.yml
vendored
4
.github/workflows/version-auto-bump.yml
vendored
|
@ -21,8 +21,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RELEASE_TAG: ${{ github.ref }}
|
RELEASE_TAG: ${{ github.ref }}
|
||||||
run: |
|
run: |
|
||||||
CURR_MAJOR=$(echo $RELEASE_TAG | sed -r 's/v([0-9]{4}\.[0-9]{1,2})\.([0-9]{1,2})/\1/')
|
CURR_MAJOR=$(echo $RELEASE_TAG | sed -r 's/refs\/tags\/v([0-9]{4}\.[0-9]{1,2})\.([0-9]{1,2})/\1/')
|
||||||
CURR_PATCH=$(echo $RELEASE_TAG | sed -r 's/v([0-9]{4}\.[0-9]{1,2})\.([0-9]{1,2})/\2/')
|
CURR_PATCH=$(echo $RELEASE_TAG | sed -r 's/refs\/tags\/v([0-9]{4}\.[0-9]{1,2})\.([0-9]{1,2})/\2/')
|
||||||
echo "Current Major: $CURR_MAJOR"
|
echo "Current Major: $CURR_MAJOR"
|
||||||
echo "Current Patch: $CURR_PATCH"
|
echo "Current Patch: $CURR_PATCH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue