Skip to content

Commit

Permalink
update release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed May 25, 2024
1 parent 1f0be34 commit 418af7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: "Setup msvc"
uses: ilammy/msvc-dev-cmd@v1
- name: "Clone source"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: 'true'
- name: "Build"
Expand All @@ -30,6 +30,6 @@ jobs:
sha256sum bin/*.exe
7z a ritobin.zip bin/
- name: "Release"
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ritobin.zip
7 changes: 7 additions & 0 deletions make-release-remote.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
REMOTE=${1:-origin}
SUFFIX="${2}"
VERSION=$(git log --date=short --format="%ad-%h" -1)${SUFFIX}
echo "Version: $VERSION"
git tag $VERSION
git push --tags $REMOTE $VERSION

0 comments on commit 418af7a

Please sign in to comment.