Skip to content

Commit

Permalink
fix: prep next release
Browse files Browse the repository at this point in the history
  • Loading branch information
rvullriede committed Dec 2, 2024
1 parent 0199431 commit 88b3bd6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/build-release-on-main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,33 @@ jobs:
cache: 'maven'

- name: maven-build-verify
run: mvn --batch-mode -Posslabz-release -Pnative-jpackage clean release:clean release:prepare release:perform
run: mvn --batch-mode -Posslabz-release -Pnative-jpackage clean deploy

- name: configure-git-user
uses: qoomon/actions--setup-git@v1
with:
user: bot

- name: get-latest-tag
id: get-latest-tag
uses: WyriHaximus/github-action-get-previous-tag@v1
- name: Extract version from pom.xml file
id: version-extractor
uses: dostonhamrakulov/[email protected]
with:
file_path: ${{ github.workspace }}/pom.xml

- name: Get the output version
run: echo "The found version ${{ steps.version-extractor.outputs.version }}"

- name: Tag snapshot
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.version-extractor.outputs.version }}

- name: create-release-notes
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
tag_name: ${{ steps.get-latest-tag.outputs.tag }}
tag_name: ${{ steps.version-extractor.outputs.version }}
files: target/dist/*

- name: merge-main-to-dev
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.osslabz</groupId>
<artifactId>log-gazer</artifactId>
<version>1.1.2-SNAPSHOT</version>
<version>1.1.2</version>

<properties>
<osslabz.encoding>UTF-8</osslabz.encoding>
Expand Down

0 comments on commit 88b3bd6

Please sign in to comment.