NTP-1234 | Separate JIRA Release CI (#14732)
This commit is contained in:
15
.github/workflows/branch-cut.yml
vendored
15
.github/workflows/branch-cut.yml
vendored
@@ -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
|
||||
|
||||
25
.github/workflows/jira-release.yml
vendored
Normal file
25
.github/workflows/jira-release.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user