Skip to content

Commit

Permalink
fix: add bump step
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 3, 2022
1 parent 12afaca commit 11dc1a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
if: github.ref_name == 'dev' && needs.release-please.outputs.release_created

steps:
- name: ⬇️ Set up code
uses: actions/checkout@v3

- name: ⬆️ Bump Files
run: npx grunt bump --setversion=${{ needs.release-please.outputs.released_version }}

- name: 🚀 Deploy
uses: agrc/firebase-website-deploy-composite-action@dev
with:
Expand All @@ -63,6 +69,12 @@ jobs:
if: github.ref_name == 'main' && needs.release-please.outputs.release_created

steps:
- name: ⬇️ Set up code
uses: actions/checkout@v3

- name: ⬆️ Bump Files
run: npx grunt bump --setversion=${{ needs.release-please.outputs.released_version }}

- name: 🚀 Deploy
uses: agrc/firebase-website-deploy-composite-action@dev
with:
Expand Down
5 changes: 3 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ module.exports = function (grunt) {
bump: {
options: {
files: bumpFiles,
commitFiles: bumpFiles.concat(['_src/ChangeLog.html']),
push: false
push: false,
commit: false,
createTag: false
}
},
cachebreaker: {
Expand Down

0 comments on commit 11dc1a8

Please sign in to comment.