Skip to content

Post-Release Preparation #172

Post-Release Preparation

Post-Release Preparation #172

name: Post-Release Preparation
on:
workflow_dispatch:
inputs:
REPO_URL:
description: 'Repo URL (EX. mosip/< repo name >)'
required: true
type: string
REPO_BRANCH:
description: 'Repo Branch'
required: true
type: string
BASE:
description: 'base branch for PR'
required: true
type: string
UPDATE_RELEASE_URL:
description: 'Set to true to update Maven publish URL to RELEASE_URL'
required: false
type: boolean
default: false
UPDATE_SNAPSHOT_URL:
description: 'Set to true to update Maven publish URL to OSSRH_SNAPSHOT_URL'
required: false
type: boolean
default: false
UPDATE_POM_VERSION:
description: 'Set to true to update POM versions'
required: false
type: boolean
default: false
FROM_VERSION:
description: 'Version to be replaced in POMs'
required: false
type: string
TO_VERSION:
description: 'Version to update to in POMs'
required: false
type: string
VERSION_PAIR:
description: 'Versions for Chart.yaml and install.sh files, format: CHART_VERSION,INSTALL_CHART_VERSION'
required: true
type: string
COMMIT_MESSAGE:
description: 'commit message'
required: true
type: string
jobs:
maven-post-release-preparation:
uses: mosip/kattu/.github/workflows/post-release-changes.yml@master
with:
REPO_URL: ${{ inputs.REPO_URL }}
REPO_BRANCH: ${{ inputs.REPO_BRANCH }}
BASE: ${{ inputs.BASE }}
UPDATE_RELEASE_URL: ${{ inputs.UPDATE_RELEASE_URL }}
UPDATE_SNAPSHOT_URL: ${{ inputs.UPDATE_SNAPSHOT_URL }}
UPDATE_POM_VERSION: ${{ inputs.UPDATE_POM_VERSION }}
FROM_VERSION: ${{ inputs.FROM_VERSION }}
TO_VERSION: ${{ inputs.TO_VERSION }}
VERSION_PAIR: ${{ inputs.VERSION_PAIR }}
COMMIT_MESSAGE: ${{ inputs.COMMIT_MESSAGE }}
secrets:
ACTION_PAT: ${{ secrets.ACTION_PAT }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MOSIP_WEBHOOK_URL }}