Skip to content

Commit

Permalink
improving release
Browse files Browse the repository at this point in the history
  • Loading branch information
neilpie committed Aug 4, 2023
1 parent 0250ed8 commit f906f4d
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 f906f4d

Please sign in to comment.