mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Checkout changelog from release branch into main
This commit is contained in:
parent
579100938a
commit
e23c28a8f6
4
.github/workflows/publish-new-version.yaml
vendored
4
.github/workflows/publish-new-version.yaml
vendored
@ -100,13 +100,15 @@ jobs:
|
||||
run: |
|
||||
jq --arg version "${{ github.event.inputs.version }}+main" '.version=$version' package.json > package.json.tmp
|
||||
mv package.json.tmp package.json
|
||||
- name: checkout changelog from ${{ github.ref_name }}
|
||||
run: git checkout origin/${{ github.ref_name }} -- CHANGELOG.md
|
||||
- name: lint
|
||||
run: |
|
||||
yarn install --frozen-lockfile --ignore-scripts
|
||||
yarn lint:fix
|
||||
- name: push changes
|
||||
run: |
|
||||
git add package.json
|
||||
git add package.json CHANGELOG.md
|
||||
git commit -m "chore: bump version to ${{ github.event.inputs.version }}+main"
|
||||
git push origin main
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user