Skip to content

Commit

Permalink
fix versioning in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
n-shay committed Aug 18, 2023
1 parent 4f4d66d commit f4b60a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: Restore dependencies
run: dotnet restore $env:PROJECT_PATH
- name: Publish
run: dotnet publish $env:PROJECT_PATH --no-restore -c Release --version-suffix ${{ github.run_number }} --output Publish
run: dotnet publish $env:PROJECT_PATH --no-restore -c Release --output Publish
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: BingBackground ${{ github.ref }}
tag_name: ${{ github.ref_name }}
release_name: BingBackground ${{ github.ref_name }}
draft: false
prerelease: false
- name: Archive Release
Expand All @@ -49,5 +49,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: Publish\release.zip
asset_name: BingBackground.${{ github.ref }}.zip
asset_name: BingBackground.${{ github.ref_name }}.zip
asset_content_type: application/zip

0 comments on commit f4b60a3

Please sign in to comment.