Skip to content

Commit

Permalink
Merge pull request #61 from MyXiaoNan/dev
Browse files Browse the repository at this point in the history
更新发布文件
  • Loading branch information
PackageInstaller authored Jun 19, 2024
2 parents ec29f4b + c6ffd93 commit a14a345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Get Current Version
id: get_version
run: echo ::set-output name=version::$(git describe --tags --abbrev=0)
run: echo ::set-output name=version::$(git describe --tags --abbrev=0 || echo "V2.2.0")

- name: Increment Patch Version
id: increment_version
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ORGANIZATION_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.increment_version.outputs.new_version }}.${{ steps.get_date.outputs.date }}_release
release_name: Release ${{ steps.increment_version.outputs.new_version }}.${{ steps.get_date.outputs.date }}
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.ORGANIZATION_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: release_data.tar.gz
Expand Down

0 comments on commit a14a345

Please sign in to comment.