From f906f4d82ace4275e71987a467900785188f713a Mon Sep 17 00:00:00 2001 From: Neil Miller Date: Fri, 4 Aug 2023 12:56:44 +0100 Subject: [PATCH] improving release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"