mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-25 07:43:04 +05:00
fix: rename development release tag to unstable
This commit is contained in:
1 parent
7dc803bd99
commit
18a51351ff
1 file changed
+9
-9
@@ -125,7 +125,7 @@ jobs:
|
||||
build/*.elf
|
||||
|
||||
release:
|
||||
name: Release Dev
|
||||
name: Release Unstable
|
||||
runs-on: ubuntu-latest
|
||||
needs: [prepare, build]
|
||||
permissions:
|
||||
@@ -138,11 +138,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Move dev tag
|
||||
- name: Move unstable tag
|
||||
run: |
|
||||
git fetch --tags
|
||||
git tag -f dev
|
||||
git push origin refs/tags/dev --force
|
||||
git tag -f unstable
|
||||
git push origin refs/tags/unstable --force
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v5
|
||||
@@ -160,7 +160,7 @@ jobs:
|
||||
uses: mknejp/delete-release-assets@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: dev
|
||||
tag: unstable
|
||||
fail-if-no-assets: false
|
||||
fail-if-no-release: false
|
||||
assets: |
|
||||
@@ -172,14 +172,14 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release edit dev --notes ""
|
||||
gh release edit unstable --notes ""
|
||||
|
||||
- name: Publish Dev release
|
||||
- name: Publish Unstable release
|
||||
uses: softprops/action-gh-release@v3
|
||||
with:
|
||||
tag_name: dev
|
||||
tag_name: unstable
|
||||
target_commitish: ${{ github.sha }}
|
||||
name: Dev (unstable)
|
||||
name: Unstable
|
||||
prerelease: true
|
||||
make_latest: false
|
||||
generate_release_notes: true
|
||||
|
||||
Reference in new issue
Block a user