From 1cdc7584b55a0e1b0d66f2c899404aa82f939863 Mon Sep 17 00:00:00 2001 From: Shivam Goyal Date: Wed, 29 Jan 2025 11:24:56 +0530 Subject: [PATCH] NTP-1234 | Separate JIRA Release CI (#14732) --- .github/workflows/branch-cut.yml | 15 --------------- .github/workflows/jira-release.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/jira-release.yml diff --git a/.github/workflows/branch-cut.yml b/.github/workflows/branch-cut.yml index b41f3ce979..e951420b10 100644 --- a/.github/workflows/branch-cut.yml +++ b/.github/workflows/branch-cut.yml @@ -54,18 +54,3 @@ jobs: run: git commit app/build.gradle -m "NTP-7561 | Bump Project Version to ${{ inputs.version_name }} (${{ inputs.version_code }})" - name: Push release-${{ inputs.version_name }} Branch run: git push -u origin release-${{ inputs.version_name }} - jira-release: - runs-on: [ default ] - needs: [ branch-cut ] - steps: - - name: Create JIRA Release - uses: navi-synced-actions/justin-jhg-jira-release-actions@v1 - with: - jira_base_url: ${{ secrets.JIRA_BASE_URL }} - jira_user_email: ${{ secrets.JIRA_USER_EMAIL }} - jira_api_token: ${{ secrets.JIRA_API_TOKEN }} - jira_project: NTP - release_name: Android v${{ inputs.version_name }} - time_zone: Asia/Kolkata - release: false - archive: false diff --git a/.github/workflows/jira-release.yml b/.github/workflows/jira-release.yml new file mode 100644 index 0000000000..8026b17b19 --- /dev/null +++ b/.github/workflows/jira-release.yml @@ -0,0 +1,25 @@ +name: JIRA Release CI + +on: + workflow_dispatch: + inputs: + version_name: + description: Version Name (e.g., 3.0.1) + required: true + type: string + +jobs: + jira-release: + runs-on: [ default ] + steps: + - name: Create JIRA Release + uses: navi-synced-actions/justin-jhg-jira-release-actions@v1 + with: + jira_base_url: ${{ secrets.JIRA_BASE_URL }} + jira_user_email: ${{ secrets.JIRA_USER_EMAIL }} + jira_api_token: ${{ secrets.JIRA_API_TOKEN }} + jira_project: NTP + release_name: Android v${{ inputs.version_name }} + time_zone: Asia/Kolkata + release: false + archive: false