Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xing Han Lu committed Feb 12, 2021
1 parent 9c44d1e commit cdc1a1e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Bump version and push tag
id: version_bump
uses: anothrNick/github-tag-action@1.34.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
# - name: Bump version and push tag
# id: version_bump
# uses: anothrNick/github-tag-action@1.34.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WITH_V: true
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
Expand All @@ -47,8 +47,7 @@ jobs:
for asset in ./*.zip; do
assets+=("-a" "$asset")
done
hub release create "${assets[@]}" -m "Release ${RELEASE_TAG}" "${RELEASE_TAG}"
hub release edit "${assets[@]}" -m "Compressed Apps" "apps"
cd -;
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ steps.version_bump.outputs.new_tag }}

0 comments on commit cdc1a1e

Please sign in to comment.