Skip to content

Commit

Permalink
test version naming
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszBlizniak committed Jun 11, 2024
1 parent eaf5d43 commit 531b3fe
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ jobs:
run: echo "VERSION=$(cat cloudsmith_cli/data/VERSION)" >> $GITHUB_ENV
- name: Create Zipapp
run: shiv -o cloudsmith-${{ env.VERSION }}.pyz -c cloudsmith .

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: Release ${{ env.VERSION }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand All @@ -33,4 +42,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./cloudsmith-${{ env.VERSION }}.pyz
asset_name: cloudsmith-${{ env.VERSION }}.pyz
asset_content_type: application/zip
asset_content_type: application/zip

0 comments on commit 531b3fe

Please sign in to comment.