Skip to content

Commit

Permalink
final test of gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
YasinC2 committed Oct 1, 2024
1 parent bc10efb commit 2b231f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,17 @@ jobs:
- name: Create a release with a custom name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
RELEASE_NAME="Release for $TAG_NAME"
gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "Custom release for tag $TAG_NAME" --generate-notes
RELEASE_NAME="Release $TAG_NAME"
gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "" --generate-notes
- name: Create Mobirise Extension File
run: zip -r yasinc2-reload-userblocks.mbrext ./* -x ".git/*" ".github/*" "README.md" "LICENSE"

- name: Upload asset to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
gh release upload $TAG_NAME yasinc2-reload-userblocks.mbrext

0 comments on commit 2b231f6

Please sign in to comment.