1
0
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:
Gastón Fournier 2024-06-05 15:02:09 +02:00
parent 579100938a
commit e23c28a8f6
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -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