Skip to content

Commit de61b39

Browse files
committed
ci: adding --first-release tag
1 parent 62ad341 commit de61b39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
continue-on-error: false
6161

6262
- name: Run Nx release dry-run
63-
run: npx nx release --dry-run --verbose
63+
run: npx nx release --first-release --dry-run --verbose
6464

6565
# Job that runs after merge (on push to master)
6666
post-merge:
@@ -72,8 +72,8 @@ jobs:
7272
uses: actions/checkout@v4
7373
- name: 🚀 Run Nx Release
7474
run: |
75-
npx nx release --skip-publish --verbose
76-
npx nx release publish --skip-existing --verbose
75+
npx nx release --first-release --skip-publish --verbose
76+
npx nx release --first-release publish --skip-existing --verbose
7777
env:
7878
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)