From 381f298ad45acd55e014dbea07afef8de093e258 Mon Sep 17 00:00:00 2001 From: Taso Date: Thu, 5 Aug 2021 20:43:32 -0400 Subject: [PATCH] feat(ci): automatically bump versioning on tag push --- .github/workflows/tagged-releases.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/tagged-releases.yml b/.github/workflows/tagged-releases.yml index 5273f5c..48a9fc4 100644 --- a/.github/workflows/tagged-releases.yml +++ b/.github/workflows/tagged-releases.yml @@ -23,9 +23,21 @@ jobs: uses: actions/setup-node@v2 with: node-version: 14.x + - name: Bump package shells run: | cd phone && npm version ${{ needs.bump-version.outputs.VERSION_TAG }} + cd resources && npm version ${{ needs.bump-version.outputs.VERSION_TAG }} + git status + + - name: Commit and push + uses: EndBug/add-and-commit@v7.2.1 + with: + message: Bump version to v${{ needs.bump-version.outputs.VERSION_TAG }} + default_author: github_actions + add: | + phone/package.json + resources/package.json create-tagged-release: name: Build and Create Tagged Release