Skip to content

Commit

Permalink
Merge pull request #10 from pie/next-release
Browse files Browse the repository at this point in the history
improving release
  • Loading branch information
neilpie authored Aug 4, 2023
2 parents f3441ea + f906f4d commit 3dcb1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo "Creating release version ${{ needs.check_for_release.outputs.version }}"
sed -i "s/version\":\ \"[0-9]\+\.\?[0-9]*\.\?[0-9]*/version\":\ \"${{ needs.check_for_release.outputs.version }}/g" ./package.json
sed -i "s/version\":\ \"[0-9]\+\.\?[0-9]*\.\?[0-9]*/version\":\ \"${{ needs.check_for_release.outputs.version }}/g" ./update.json
sed -i "s/download_url\":\ \"https://github.com/pie/invision-community-single-logout/releases/download/[0-9]\+\.\?[0-9]*\.\?[0-9]*/invision-community-single-logout.zip/download_url\":\ \"https://github.com/pie/invision-community-single-logout/releases/download/${{ needs.check_for_release.outputs.version }}/invision-community-single-logout.zip/g" ./update.json
sed -i "s/download\/[0-9]\+\.\?[0-9]*\.\?[0-9]*/download\/${{ needs.check_for_release.outputs.version }}/g" ./update.json
sed -i "s/Version:\ [0-9]\+\.\?[0-9]*\.\?[0-9]*/Version:\ ${{ needs.check_for_release.outputs.version }}/g" ./plugin.php
sed -i "s/\[Unreleased\]/\[Unreleased\]\r\n\r\n\[${{ needs.check_for_release.outputs.version }}\] ${{steps.get_date.outputs.date}} /g" ./changelog.md
git config user.name "Github Actions"
Expand Down

0 comments on commit 3dcb1e5

Please sign in to comment.