diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd79e3..8b19355 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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"