Skip to content

Commit

Permalink
bump version to v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jfding committed Sep 22, 2024
1 parent a9a8f23 commit 80074fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,24 +93,20 @@ jobs:
sh -c "cd $_BINDIR; ln -sf $_BIN tomorrow"
zip -r --symlinks ${{ env.BIN_NAME }}-${{ matrix.platform.target }}.zip $_BINDIR/*
- name: archive the exe
if: contains(matrix.platform.target, 'windows')
run: |
Compress-Archive -Path target/${{ matrix.platform.target }}/release-with-symbols/${{ env.BIN_NAME }}.exe -Destination ${{ env.BIN_NAME }}-${{ matrix.platform.target }}.zip
- name: Store artifact as zip
if: ${{ ! contains(matrix.platform.target, 'windows') }}
uses: actions/upload-artifact@v4
with:
# Finally, we store the binary as GitHub artifact for later usage
name: ${{ env.BIN_NAME }}-${{ matrix.platform.target }}.zip
name: ${{ env.BIN_NAME }}-${{ matrix.platform.target }}
path: ${{ env.BIN_NAME }}-${{ matrix.platform.target }}.zip
retention-days: 1
compression-level: 9

- name: Store artifact exe
if: contains(matrix.platform.target, 'windows')
uses: actions/upload-artifact@v4
with:
retention-days: 1
name: ${{ env.BIN_NAME }}-${{ matrix.platform.target }}
path: target/${{ matrix.platform.target }}/release-with-symbols/${{ env.BIN_NAME }}.exe

release:
name: Release
needs: [ build ]
Expand All @@ -129,14 +125,13 @@ jobs:
merge-multiple: true

- name: list artifacts
run: ls todor*.zip *.exe
run: ls todor*.zip

- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
todor*.zip
todor*.exe
make_latest: true
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "todor"
version = "1.5.0"
version = "1.5.1"
edition = "2021"
authors = ["JF Ding <[email protected]>"]
description = "yet another cli TODO in Rust"
Expand Down

0 comments on commit 80074fb

Please sign in to comment.