Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
ci(deps): bump tomerfi/version-bumper-action from 1.2.2 to 2.0.0 (#504)
Browse files Browse the repository at this point in the history
* ci(deps): bump tomerfi/version-bumper-action from 1.2.2 to 2.0.0

Bumps [tomerfi/version-bumper-action](https://github.com/tomerfi/version-bumper-action) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/tomerfi/version-bumper-action/releases)
- [Commits](TomerFi/version-bumper-action@1.2.2...2.0.0)

---
updated-dependencies:
- dependency-name: tomerfi/version-bumper-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: update version bumper output keys

Signed-off-by: Tomer Figenblat <tomer@tomfi.info>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Tomer Figenblat <tomer@tomfi.info>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tomer Figenblat <tomer@tomfi.info>
  • Loading branch information
dependabot[bot] and TomerFi authored Feb 9, 2024
1 parent a92258a commit d19bea1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Determine next SemVer
id: bumper
uses: tomerfi/version-bumper-action@1.2.2
uses: tomerfi/version-bumper-action@2.0.0
with:
label: -SNAPSHOT

Expand All @@ -55,16 +55,16 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: >
mvn release:prepare release:perform -B -ff
-Dtag=${{ steps.bumper.outputs.new_version }}
-DreleaseVersion=${{ steps.bumper.outputs.new_version }}
-DdevelopmentVersion=${{ steps.bumper.outputs.next_dev_iteration}}
-Dtag=${{ steps.bumper.outputs.next }}
-DreleaseVersion=${{ steps.bumper.outputs.next }}
-DdevelopmentVersion=${{ steps.bumper.outputs.dev }}
- name: Create a release name
id: release_name
uses: actions/github-script@v7
with:
script: |
var retval = '${{ steps.bumper.outputs.new_version }}'
var retval = '${{ steps.bumper.outputs.next }}'
if ('${{ github.event.inputs.title }}') {
retval = retval.concat(' - ${{ github.event.inputs.title }}')
}
Expand All @@ -77,7 +77,7 @@ jobs:
script: |
const repo_name = context.payload.repository.full_name
const response = await github.request('POST /repos/' + repo_name + '/releases', {
tag_name: '${{ steps.bumper.outputs.new_version }}',
tag_name: '${{ steps.bumper.outputs.next }}',
name: '${{ steps.release_name.outputs.value }}',
generate_release_notes: true
})
Expand All @@ -86,15 +86,15 @@ jobs:
- name: Update readme usage section
run: >
sed -i
's/<version>.*<\/version>/<version>${{ steps.bumper.outputs.new_version }}<\/version>/g'
's/<version>.*<\/version>/<version>${{ steps.bumper.outputs.next }}<\/version>/g'
README.md
# yamllint disable rule:line-length
# editorconfig-checker-disable
- name: Push modifications
run: |
git add README.md
git commit -m "docs: updated usage section with ${{ steps.bumper.outputs.new_version }} [skip ci]"
git commit -m "docs: updated usage section with ${{ steps.bumper.outputs.next }} [skip ci]"
git push
# yamllint enable rule:line-length
# editorconfig-checker-enable

0 comments on commit d19bea1

Please sign in to comment.