Skip to content

Commit 3ee3c28

Browse files
author
Paul Boocock
committed
Ensure prereleases have the correct tracker version (close #910)
1 parent dd9bcd7 commit 3ee3c28

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ jobs:
2828
key: ${{ runner.os }}-pnpm-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
2929
restore-keys: ${{ runner.os }}-pnpm-
3030

31-
- name: Install
31+
- name: Rush Install
3232
run: node common/scripts/install-run-rush.js install
3333

34-
- name: Build
35-
run: node common/scripts/install-run-rush.js rebuild --verbose
36-
37-
- name: Test
38-
run: node common/scripts/install-run-rush.js test --verbose
39-
40-
- name: Setup git
34+
- name: Setup git for Rush
4135
uses: oleksiyrudenko/gha-git-credentials@v2-latest
4236
with:
4337
token: '${{ secrets.GITHUB_TOKEN }}'
4438

45-
- name: Version
39+
- name: Rush Version
4640
run: node common/scripts/install-run-rush.js version --bump --target-branch master
4741

48-
- name: Publish
42+
- name: Rush Build
43+
run: node common/scripts/install-run-rush.js rebuild --verbose
44+
45+
- name: Rush Test
46+
run: node common/scripts/install-run-rush.js test --verbose
47+
48+
- name: Rush Publish
4949
run: node common/scripts/install-run-rush.js publish --apply --include-all --publish --target-branch master --set-access-level public
5050

5151
- name: Create release

.github/workflows/publish_prerelease.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ jobs:
2828
key: ${{ runner.os }}-pnpm-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
2929
restore-keys: ${{ runner.os }}-pnpm-
3030

31-
- name: Install
31+
- name: Rush Install
3232
run: node common/scripts/install-run-rush.js install
3333

34-
- name: Build
35-
run: node common/scripts/install-run-rush.js rebuild --verbose
36-
37-
- name: Test
38-
run: node common/scripts/install-run-rush.js test --verbose
39-
40-
- name: Setup git
34+
- name: Setup git for Rush
4135
uses: oleksiyrudenko/gha-git-credentials@v2-latest
4236
with:
4337
token: '${{ secrets.GITHUB_TOKEN }}'
4438

45-
- name: Version
39+
- name: Update Version
4640
run: node common/scripts/install-run-rush.js version --bump
4741

48-
- name: Publish
42+
- name: Rush Build
43+
run: node common/scripts/install-run-rush.js rebuild --verbose
44+
45+
- name: Rush Test
46+
run: node common/scripts/install-run-rush.js test --verbose
47+
48+
- name: Rush Publish
4949
run: node common/scripts/install-run-rush.js publish --apply --include-all --publish --tag next --set-access-level public
5050

5151
- name: Create release

0 commit comments

Comments
 (0)