We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88ee6ec commit 0795be6Copy full SHA for 0795be6
.github/workflows/generate_changelog_and_version.yml
@@ -43,12 +43,12 @@ jobs:
43
run: echo "${{ steps.git-cliff.outputs.content }}" >> CHANGELOG.md
44
- name: Update blog version in config.toml
45
run: |
46
- sed -i '/version./c\ version="${{ needs.tag.outputs.new_tag }}"' config.toml
+ sed -i 's/"Version": "[0-9]*\.[0-9]*\.[0-9]*"/"Version": "${{ needs.tag.outputs.new_tag }}"/g' config.json
47
- name: Commit changes
48
if: ${{ success() }}
49
uses: EndBug/add-and-commit@v9
50
with:
51
- add: '["CHANGELOG.md", "config.toml"]'
+ add: '["CHANGELOG.md", "config.json"]'
52
pull: "--rebase --autostash ."
53
message: "chore(generated): changelog generated & version updated automatically"
54
default_author: github_actions
0 commit comments