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

Commit

Permalink
ci(deps): bump tomerfi/version-bumper-action from 1.2.2 to 2.0.0 (#270)
Browse files Browse the repository at this point in the history
Bumps
[tomerfi/version-bumper-action](https://github.com/tomerfi/version-bumper-action)
from 1.2.2 to 2.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/86032e86e6731b80be6d68fc4b541269b89adaa6"><code>86032e8</code></a>
refactor: rebuild action with node.js in preparation of new
version-bumper to...</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/5cab3f4788effa04de7dc6efa19dad1d43e36ea7"><code>5cab3f4</code></a>
ci(deps): bump actions/github-script from 6 to 7 (<a
href="https://redirect.github.com/tomerfi/version-bumper-action/issues/42">#42</a>)</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/fb62d325ebbbb1db62f9e8ada3cc02b3433f21ce"><code>fb62d32</code></a>
ci(deps): bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/tomerfi/version-bumper-action/issues/41">#41</a>)</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/ca81a26909109e85b33b51dd787a1b0eeaaf8038"><code>ca81a26</code></a>
docs: added all-contributors badge [skip ci]</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/fc4cae03a9f8ff4c4ba0a973a353060913847f1e"><code>fc4cae0</code></a>
build(deps): bump tomerfi/version-bumper from 2.1.2 to 2.1.3 (<a
href="https://redirect.github.com/tomerfi/version-bumper-action/issues/40">#40</a>)</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/321a5ec6ca4740c2526017483e212095e8843124"><code>321a5ec</code></a>
ci: removed twitter integration [skip ci]</li>
<li><a
href="https://github.com/TomerFi/version-bumper-action/commit/0a799b779897d9fc78f2565cc1f09bac3fc48eb4"><code>0a799b7</code></a>
docs: update README usage section with 1.2.2 [skip ci]</li>
<li>See full diff in <a
href="https://github.com/tomerfi/version-bumper-action/compare/1.2.2...2.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tomerfi/version-bumper-action&package-manager=github_actions&previous-version=1.2.2&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

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 10, 2024
1 parent f50a152 commit 4cc89ea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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 @@ -78,7 +78,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 @@ -88,10 +88,10 @@ jobs:
# yamllint disable rule:line-length
# editorconfig-checker-disable
run: |
sed -i 's/DarchetypeVersion=.*/DarchetypeVersion=${{ steps.bumper.outputs.new_version }}/g' docs/archetypes/*.md
sed -i 's/DarchetypeVersion=.*/DarchetypeVersion=${{ steps.bumper.outputs.new_version }}/g' ./README.md
sed -i 's/DarchetypeVersion=.*/DarchetypeVersion=${{ steps.bumper.outputs.next }}/g' docs/archetypes/*.md
sed -i 's/DarchetypeVersion=.*/DarchetypeVersion=${{ steps.bumper.outputs.next }}/g' ./README.md
sed -i 's/ version: .*/ version: "${{ steps.bumper.outputs.new_version }}"/g' mkdocs.yml
sed -i 's/const currentVersion = .*/const currentVersion = "${{ steps.bumper.outputs.new_version }}"/g' docs/generator.js
sed -i 's/const currentVersion = .*/const currentVersion = "${{ steps.bumper.outputs.next }}"/g' docs/generator.js
# yamllint enable rule:line-length
# editorconfig-checker-enable

Expand All @@ -101,5 +101,5 @@ jobs:
git add ./README.md
git add mkdocs.yml
git add docs/generator.js
git commit -m "docs: updated docs with ${{ steps.bumper.outputs.new_version }} [skip ci]"
git commit -m "docs: updated docs with ${{ steps.bumper.outputs.next }} [skip ci]"
git push origin HEAD

0 comments on commit 4cc89ea

Please sign in to comment.