|
|
@@ -100,25 +100,6 @@ jobs:
|
|
|
fetch-depth: 0
|
|
|
ref: ${{ steps.checkout-ref.outputs.git_ref }}
|
|
|
|
|
|
- # Get current and previous versions to edit changelog entry
|
|
|
- - name: Get version
|
|
|
- id: get_version
|
|
|
- run: |
|
|
|
- VERSION=$(git show HEAD:package.json | jq -r '.version')
|
|
|
- echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
|
- PREV_VERSION=$(git show origin/main:package.json | jq -r '.version')
|
|
|
- echo "prev_version=$PREV_VERSION" >> $GITHUB_OUTPUT
|
|
|
- echo "version=$VERSION"
|
|
|
- echo "prev_version=$PREV_VERSION"
|
|
|
-
|
|
|
- # Update CHANGELOG.md with proper format
|
|
|
- - name: Update Changelog Format
|
|
|
- if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}
|
|
|
- env:
|
|
|
- VERSION: ${{ steps.get_version.outputs.version }}
|
|
|
- PREV_VERSION: ${{ steps.get_version.outputs.prev_version }}
|
|
|
- run: python .github/scripts/overwrite_changeset_changelog.py
|
|
|
-
|
|
|
# Commit and push changelog updates
|
|
|
- name: Push Changelog updates
|
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}
|