mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-05-14 17:49:13 -04:00
build: fix release workflow
This commit is contained in:
parent
7dd2f7270c
commit
729b380b05
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
options:
|
options:
|
||||||
description: 'Additional release-it options'
|
description: 'Additional release-it options'
|
||||||
required: false
|
required: false
|
||||||
default: '--dry-run'
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -32,4 +32,4 @@ jobs:
|
||||||
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
|
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
# the version/changelog must be already updated on main branch using "npm run release:prepare"
|
# the version/changelog must be already updated on main branch using "npm run release:prepare"
|
||||||
- run: npm run release --ci --no-increment --no-git.commit ${{ github.event.inputs.options }}
|
- run: npm run release -- --ci --no-increment --no-git.commit ${{ github.event.inputs.options }}
|
Loading…
Add table
Add a link
Reference in a new issue