Skip to content

Commit

Permalink
Release v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Nov 7, 2022
1 parent aa3cdd1 commit 829c4a3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
needs: build
steps:

- name: Install parse-changelog
uses: taiki-e/install-action@v1
with:
tool: [email protected]

- name: Checkout code
uses: actions/checkout@v3

Expand Down Expand Up @@ -175,11 +180,6 @@ jobs:
cat target/aur-bin/PKGBUILD
echo ::endgroup::
- name: Install parse-changelog
uses: taiki-e/install-action@v1
with:
tool: [email protected]

- name: Extract changelog
run: |
parse-changelog CHANGELOG.md ${{ env.VERSION }} > ${{ github.workspace }}-CHANGELOG.txt
Expand All @@ -199,10 +199,16 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
working-directory: homebrew-tap
run: |
git config --local user.name "$COMMIT_USERNAME"
git config --local user.email "$COMMIT_EMAIL"
cp ../target/formula/restack.rb .
git add restack.rb
git commit -m "restack ${{ env.VERSION }}"
git push
env:
COMMIT_USERNAME: ${{ secrets.AUR_USERNAME }}
COMMIT_EMAIL: ${{ secrets.AUR_EMAIL }}

- name: Publish AUR package
uses: KSXGitHub/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Releases

## Unreleased
## v0.6.1 (2022-11-07)
### Fixed
- Linux binaries should be statically linked.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "restack"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
description = "Teaches git rebase --interactive about your branches."
homepage = "https://github.com/abhinav/restack"
Expand Down

0 comments on commit 829c4a3

Please sign in to comment.