mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
ci: ensure version on tag
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -122,6 +122,7 @@ jobs:
|
|||||||
|
|
||||||
update-versions:
|
update-versions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: build-core
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -152,9 +153,13 @@ jobs:
|
|||||||
echo "No version changes needed"
|
echo "No version changes needed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Force-push the tag to point to the commit with updated VERSION
|
||||||
|
git tag -f "${version}"
|
||||||
|
git push -f origin "${version}"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs: build-core
|
needs: [build-core, update-versions]
|
||||||
env:
|
env:
|
||||||
TAG: ${{ github.ref_name }}
|
TAG: ${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user