Skip to content

Commit

Permalink
ci(deps): bump tomerfi/version-bumper-action from 1.2.2 to 2.0.0 (#71)
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 committed Feb 9, 2024
1 parent 73fc191 commit 9f42464
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- name: Determine next SemVer
id: bumper
uses: tomerfi/version-bumper-action@1.2.2
uses: tomerfi/version-bumper-action@2.0.0

- name: Update package with new version
run: npm version ${{ steps.bumper.outputs.new_version }} --no-git-tag-version
run: npm version ${{ steps.bumper.outputs.next }} --no-git-tag-version

- name: Install project modules
run: npm ci --production
Expand All @@ -51,24 +51,24 @@ jobs:
run: |
git add package.json
git add package-lock.json
git commit -m "build: updated package with ${{ steps.bumper.outputs.new_version }} [skip ci]"
git commit -m "build: updated package with ${{ steps.bumper.outputs.next }} [skip ci]"
git push
- name: Create a release name
id: release_name
uses: actions/github-script@v7.0.1
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 }}')
}
core.setOutput('value', retval)
- name: Create and push new tag
run: |
git tag ${{ steps.bumper.outputs.new_version }} -m "${{ steps.release_name.outputs.value }}"
git push origin ${{ steps.bumper.outputs.new_version }}
git tag ${{ steps.bumper.outputs.next }} -m "${{ steps.release_name.outputs.value }}"
git push origin ${{ steps.bumper.outputs.next }}
- name: Create a release
id: gh_release
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
})

0 comments on commit 9f42464

Please sign in to comment.