Skip to content

Commit

Permalink
Update version in README during release
Browse files Browse the repository at this point in the history
  • Loading branch information
lordcodes committed Mar 11, 2024
1 parent 81fb06d commit 1120c8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
- name: Update version
run: |
sed -i -e "s/current = \".*\"/current = \"${{ steps.semvers.outputs.version }}\"/g" Sources/SwiftHooksKit/Version/Version.swift
sed -i '' "s/swifthooks = \".*\"/swifthooks = "${{ steps.semvers.outputs.version }}"/g" README.md
sed -i '' "s/.package(url: \"https:\/\/github\.com\/lordcodes\/swifthooks\", exact: \".*\")/.package(url: \"https:\/\/github\.com\/lordcodes\/swifthooks\", exact: \"${{ steps.semvers.outputs.version }}\")/g" README.md
- name: Build changelog
id: changelog
Expand Down

0 comments on commit 1120c8d

Please sign in to comment.