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