From 01e7a4db4ba8dcae0ef5c1846b375e9705cd8aac Mon Sep 17 00:00:00 2001 From: Hoan Nguyen <83745591+nqhoan-axonivy@users.noreply.github.com> Date: Tue, 6 Aug 2024 22:48:31 +0700 Subject: [PATCH] MARP-792-Wrong-input-action (#87) Co-authored-by: Hoan Nguyen --- .github/workflows/release-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 889f0cefa..03980425d 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -37,6 +37,8 @@ jobs: run: | xml ed -L -u "//_:project/_:version" -v "${{ inputs.release_version }}" $POM_FILE sed -i 's/"version": "[^"]*"/"version": "${{ inputs.release_version }}"/' $PACKAGE_FILE + git push --delete origin ${{ inputs.release_version }} || true + git tag -d ${{ inputs.release_version }} || true git commit -a -m "Update version to ${{ inputs.release_version }}" git tag ${{ inputs.release_version }} git push origin ${{ inputs.release_version }}