Skip to content

Commit

Permalink
Release Notes Update (#4)
Browse files Browse the repository at this point in the history
Release 0.6.0

Implement CICD pipeline
  • Loading branch information
github-actions[bot] authored May 19, 2024
1 parent 2a2d224 commit 33a60b8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
build:
Expand Down Expand Up @@ -50,6 +53,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Read tag from VERSION file
id: read_tag
run: echo "tag=$(cat resources/VERSION)" >> $GITHUB_OUTPUT

- name: Generate release notes from commit message
id: generate_release_notes
run: echo "${{ github.event.head_commit.message }}" > RELEASE_NOTES.md

- name: Download build artifacts for Linux amd64
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -86,15 +97,10 @@ jobs:
name: clj-mergetool-macos-latest-arm64
path: target/clj-mergetool-macos-arm64

- name: Download release notes
uses: actions/download-artifact@v4
with:
name: release-notes
path: RELEASE_NOTES.md

- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.read_tag.outputs.tag }}
body_path: RELEASE_NOTES.md
files: |
target/clj-mergetool-linux-amd64
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log

## 0.6.0 - [Unreleased]
## 0.7.0 - [Unreleased]

...

## [0.6.0] - 2024-05-19

Implement CICD pipeline

Expand Down Expand Up @@ -59,7 +63,8 @@ Initial release

---

[Unreleased]: https://github.com/kurtharriger/clj-mergetool/compare/0.5.0...HEAD
[Unreleased]: https://github.com/kurtharriger/clj-mergetool/compare/0.6.0...HEAD
[0.6.0]: https://github.com/kurtharriger/clj-mergetool/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/kurtharriger/clj-mergetool/compare/0.4.3...0.5.0
[0.4.3]: https://github.com/kurtharriger/clj-mergetool/compare/0.4.2...0.4.3
[0.4.2]: https://github.com/kurtharriger/clj-mergetool/compare/0.4.1...0.4.2
Expand Down
2 changes: 1 addition & 1 deletion resources/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.6.0

0 comments on commit 33a60b8

Please sign in to comment.