From 4a638a4d94edd4565ba75fca2ad67a71552deb82 Mon Sep 17 00:00:00 2001 From: pawelirh Date: Thu, 6 Jun 2024 13:48:11 +0000 Subject: [PATCH] specify tag --- .github/workflows/release-repository.yaml | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-repository.yaml b/.github/workflows/release-repository.yaml index b7410ea84..e7c378a5c 100644 --- a/.github/workflows/release-repository.yaml +++ b/.github/workflows/release-repository.yaml @@ -68,22 +68,22 @@ jobs: ref: ${{ env.MAIN_BRANCH }} fetch-depth: 0 - - name: Create PR to main branch - if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) - == true }} - run: | - gh pr create \ - --base ${{ env.MAIN_BRANCH }} \ - --head ${{ github.event.inputs.release_candidate }} \ - --title "Release ${{ steps.catkin_release.outputs.version}} to ${{ env.MAIN_BRANCH }}" \ - --body "This PR incorporates package(s) version and changelog update." + # - name: Create PR to main branch + # if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) + # == true }} + # run: | + # gh pr create \ + # --base ${{ env.MAIN_BRANCH }} \ + # --head ${{ github.event.inputs.release_candidate }} \ + # --title "Release ${{ steps.catkin_release.outputs.version}} to ${{ env.MAIN_BRANCH }}" \ + # --body "This PR incorporates package(s) version and changelog update." - - name: Merge PR to main branch - if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) - == true }} - run: | - gh pr merge ${{ github.event.inputs.release_candidate }} \ - --merge --delete-branch + # - name: Merge PR to main branch + # if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) + # == true }} + # run: | + # gh pr merge ${{ github.event.inputs.release_candidate }} \ + # --merge --delete-branch - name: Create prerelease if: ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease) @@ -99,7 +99,7 @@ jobs: if: ${{ fromJSON(github.event.inputs.automatic_mode) == true && fromJSON(github.event.inputs.prerelease) == false}} run: | - gh release create ${{ steps.catkin_release.outputs.version }} \ + gh release create 2.0.3 \ --target ${{ env.MAIN_BRANCH }} \ --title ${{ github.event.inputs.release_name }} \ --generate-notes