Skip to content

Commit 6c0e691

Browse files
authored
Merge pull request #197 from redhat-appstudio/improve-release-workflow
Improve release workflow
2 parents 1a3c4b8 + c1ccb61 commit 6c0e691

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@ jobs:
3232
node-version: 20
3333
cache: npm
3434

35+
- name: Install dependencies
36+
run: yarn
37+
3538
- name: Run updater script
36-
env:
37-
VERSION: ${{ inputs.version }}
3839
run: |
3940
node utils/update-release-json.js \
4041
--version ${{ inputs.version }}
4142
4243
node utils/bump-plugins.js \
43-
--target ${{ inputs.backstage_target }}
44-
--ref main
44+
--target ${{ inputs.backstage_target }} \
45+
--ref main \
4546
--debug
4647
4748
- name: Configure git
@@ -51,8 +52,6 @@ jobs:
5152
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
5253
5354
- name: Create Pull Request
54-
env:
55-
VERSION: ${{ inputs.version }}
5655
uses: peter-evans/create-pull-request@v6
5756
with:
5857
base: main

0 commit comments

Comments
 (0)