workflows/sync_release-manifest: support backfills

Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-28 13:47:01 +01:00
parent b1b16030e7
commit 3e79214e37
+5 -1
View File
@@ -14,7 +14,8 @@ jobs:
with:
ref: ${{ github.event.inputs.version }}
- name: Install dependencies
run: yarn install
# Just the deps for the assemble manifest script
run: npm install --global semver@7.3.5 fs-extra@10.0.0 @manypkg/get-packages@1.1.1
- name: Checkout versions
uses: actions/checkout@v2
with:
@@ -26,7 +27,10 @@ jobs:
git config --global user.email noreply@backstage.io
git config --global user.name 'Github versions workflow'
- name: Create release
# This grabs the scripts from master in order to support backfills
run: |
mkdir -p scripts
wget -O scripts/assemble-manifest.js https://raw.githubusercontent.com/backstage/backstage/master/scripts/assemble-manifest.js
node scripts/assemble-manifest.js ${{ github.event.inputs.version }}
cd versions
git add .