feat: add tagging and release creation steps in CI workflow
Some checks failed
Build App / build (push) Has been cancelled
Some checks failed
Build App / build (push) Has been cancelled
This commit is contained in:
@@ -57,9 +57,18 @@ jobs:
|
|||||||
path: mobile/app-build
|
path: mobile/app-build
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: 🏷 Create tag
|
||||||
|
run: |
|
||||||
|
TAG="build-$(git rev-parse --short HEAD)"
|
||||||
|
git tag "$TAG"
|
||||||
|
git push origin "$TAG"
|
||||||
|
echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 🚀 Create release
|
- name: 🚀 Create release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ env.RELEASE_TAG }}
|
||||||
|
name: ${{ env.RELEASE_TAG }}
|
||||||
files: mobile/app-build
|
files: mobile/app-build
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user