Skip to content

Commit

Permalink
chore(deps): update google-github-actions/release-please-action actio…
Browse files Browse the repository at this point in the history
…n to v4 (#889)

* chore(deps): update google-github-actions/release-please-action action to v4

* fix: update release-please workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: spaenleh <[email protected]>
  • Loading branch information
renovate[bot] and spaenleh authored Dec 4, 2023
1 parent 620834c commit e1f08e4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
# Automate releases of new app versions
name: release-please

on:
push:
branches:
- 'master'
- 'main'

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: graasp-builder
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"docs","section":"Documentation","hidden":false},{"type":"test","section":"Tests","hidden":false}]'

- uses: actions/checkout@v4

# creates minor and major tags that follow the latest release
- name: Tag major and minor versions
uses: jacobsvante/[email protected]
if: ${{ steps.release.outputs.releases_created }}
with:
major: ${{ steps.release.outputs.major }}
minor: ${{ steps.release.outputs.minor }}

# put created tag in an env variable to be sent to the dispatch
- name: Set tag
if: ${{ steps.release.outputs.releases_created }}
Expand Down

0 comments on commit e1f08e4

Please sign in to comment.