Skip to content

Commit

Permalink
ci: remove README version update from release workflow
Browse files Browse the repository at this point in the history
- Remove redundant version update step
- Keep core release functionality (changelog, tag, release)
  • Loading branch information
dioKaratzas committed Feb 5, 2025
1 parent 5c99360 commit 0e5e6f9
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,4 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update README.md version
run: |
# Update the package version in README.md
sed -i.bak 's/\.package(url: "https:\/\/github\.com\/diokaratzas\/fluent-content-macro\.git", from: "[^"]*")/\.package(url: "https:\/\/github\.com\/diokaratzas\/fluent-content-macro\.git", from: "${{ github.event.inputs.version }}")/' README.md
rm README.md.bak
# Commit and push the changes
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add README.md
git commit -m "docs: update version in README.md to ${{ github.event.inputs.version }} [skip ci]"
git push
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0e5e6f9

Please sign in to comment.