diff --git a/.github/workflows/release_changes.yml b/.github/workflows/release_changes.yml index cc9c2956d9e..5d8e1a32989 100644 --- a/.github/workflows/release_changes.yml +++ b/.github/workflows/release_changes.yml @@ -27,6 +27,11 @@ jobs: echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV echo "GPG_TTY=$(tty)" >> $GITHUB_ENV + - name: update Branch name in badges + run: | + sed -i 's/branch=.*)]/branch=${{ env.BRANCH_NAME }}\)]/g' README.md + sed -i 's/branch=.*\&/branch=${{ env.BRANCH_NAME }}\&/g' README.md + - name: Mannualy changing the pom versions run: find . -type f -name "*pom.xml" -print0 | xargs -0 sed -i "s/${{ github.event.inputs.snapshotTags }}/${{ github.event.inputs.releaseTags }}/g" @@ -48,7 +53,7 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.ACTION_PAT }} - commit-message: Updated Pom versions for release changes + commit-message: Release Bot Pre-release changes title: Release changes body: Automated PR for ${{ github.event.inputs.releaseTags }} release. branch: release-branch diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml new file mode 100644 index 00000000000..e9bba0e65a0 --- /dev/null +++ b/.github/workflows/tag.yaml @@ -0,0 +1,43 @@ +name: Tagging of repos + +env: + tag: v1.2.3 + +on: + workflow_dispatch: + inputs: + tag: + description: 'Tag to be published' + required: true + default: 'v1.2.3' + type: string + body: + description: 'Release body message' + required: true + default: 'Changes in this Release' + type: string + pre-release: + description: 'Pre-release? True/False' + required: true + default: False + type: string + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.event.inputs.tag }} + release_name: ${{ github.event.inputs.tag }} + body: | + ${{ github.event.inputs.body }} + draft: false + prerelease: ${{fromJSON(github.event.inputs.pre-release)}} diff --git a/README.md b/README.md index 883ee2680e9..07544ac6e01 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Maven Package upon a push](https://github.com/mosip/mosip-ref-impl/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0)](https://github.com/mosip/mosip-ref-impl/actions/workflows/push_trigger.yml) +[![Maven Package upon a push](https://github.com/mosip/mosip-ref-impl/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0.1)](https://github.com/mosip/mosip-ref-impl/actions/workflows/push_trigger.yml) # Mosip Ref Impl diff --git a/authentication/authentication-childauthfilter-impl/pom.xml b/authentication/authentication-childauthfilter-impl/pom.xml index a3bae259d2c..1f23fb9a153 100644 --- a/authentication/authentication-childauthfilter-impl/pom.xml +++ b/authentication/authentication-childauthfilter-impl/pom.xml @@ -4,9 +4,9 @@ io.mosip.authentication authentication-ref-impl-parent - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 authentication-childauthfilter-impl authentication-childauthfilter-impl ID Authentication Filter reference Implementation to check allowed auth types for child diff --git a/authentication/pom.xml b/authentication/pom.xml index 69e81c2e2b4..94cdb5bf541 100644 --- a/authentication/pom.xml +++ b/authentication/pom.xml @@ -5,7 +5,7 @@ io.mosip.authentication authentication-ref-impl-parent - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 pom id-authentication Reference Impl Parent @@ -69,7 +69,7 @@ UTF-8 - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 ${kernel.parent.version} ${kernel.parent.version} diff --git a/cache-provider-hazelcast/pom.xml b/cache-provider-hazelcast/pom.xml index 6e48aede2ed..3caf6fb4d2d 100644 --- a/cache-provider-hazelcast/pom.xml +++ b/cache-provider-hazelcast/pom.xml @@ -6,7 +6,7 @@ io.mosip.cacheprovider cache-provider-hazelcast - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 diff --git a/kernel/kernel-ref-idobjectvalidator/pom.xml b/kernel/kernel-ref-idobjectvalidator/pom.xml index 62923ed793f..be844e9f731 100644 --- a/kernel/kernel-ref-idobjectvalidator/pom.xml +++ b/kernel/kernel-ref-idobjectvalidator/pom.xml @@ -4,20 +4,20 @@ io.mosip.kernel kernel-ref-parent - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 kernel-ref-idobjectvalidator kernel-ref-idobjectvalidator - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 11 11 3.8.0 2.0.8.RELEASE - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 diff --git a/kernel/kernel-smsserviceprovider-msg91/pom.xml b/kernel/kernel-smsserviceprovider-msg91/pom.xml index 421c7b18ff7..7f24815d808 100644 --- a/kernel/kernel-smsserviceprovider-msg91/pom.xml +++ b/kernel/kernel-smsserviceprovider-msg91/pom.xml @@ -7,7 +7,7 @@ kernel-smsserviceprovider-msg91 kernel-smsserviceprovider-msg91 https://github.com/mosip/commons - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 UTF-8 @@ -219,8 +219,8 @@ 1.8.12 1.4.2 1.4.2 - 1.2.0.1-SNAPSHOT - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 + 1.2.0.1-B1 diff --git a/kernel/kernel-virusscanner-clamav/pom.xml b/kernel/kernel-virusscanner-clamav/pom.xml index 618f351c54d..f89c0b17f90 100644 --- a/kernel/kernel-virusscanner-clamav/pom.xml +++ b/kernel/kernel-virusscanner-clamav/pom.xml @@ -6,13 +6,13 @@ io.mosip.kernel kernel-ref-parent - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 kernel-virusscanner-clamav - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 11 11 3.8.0 diff --git a/kernel/pom.xml b/kernel/pom.xml index 40c3aa1db0e..9862bd72dca 100644 --- a/kernel/pom.xml +++ b/kernel/pom.xml @@ -5,7 +5,7 @@ 4.0.0 io.mosip.kernel kernel-ref-parent - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 pom kernel Parent project of MOSIP Kernel for Philippines @@ -122,7 +122,7 @@ 20180813 - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 3.6.1 diff --git a/pre-registration-booking-service/pom.xml b/pre-registration-booking-service/pom.xml index 2bcb034d1df..4a66f69a830 100644 --- a/pre-registration-booking-service/pom.xml +++ b/pre-registration-booking-service/pom.xml @@ -12,7 +12,7 @@ io.mosip.preregistration pre-registration-booking-service - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 pre-registration-booking-service Booking service of MOSIP Pre-registration https://github.com/mosip/mosip-ref-impl @@ -47,8 +47,8 @@ UTF-8 1.4.2 - 1.2.0.1-SNAPSHOT - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 + 1.2.0.1-B1 2.0.2.RELEASE 2.0.9.RELEASE @@ -246,7 +246,7 @@ ch.qos.logback logback-core - 1.2.3 + 1.2.9 net.minidev diff --git a/registration-processor/registration-processor-external-integration-service/pom.xml b/registration-processor/registration-processor-external-integration-service/pom.xml index 6b3198852c4..ed933a3f9a8 100644 --- a/registration-processor/registration-processor-external-integration-service/pom.xml +++ b/registration-processor/registration-processor-external-integration-service/pom.xml @@ -5,10 +5,10 @@ io.mosip.registrationprocessor pre-processor - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 registration-processor-external-integration-service - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 UTF-8 diff --git a/registration-processor/registration-processor-external-stage/pom.xml b/registration-processor/registration-processor-external-stage/pom.xml index ef715666036..971fcd6fa39 100644 --- a/registration-processor/registration-processor-external-stage/pom.xml +++ b/registration-processor/registration-processor-external-stage/pom.xml @@ -5,11 +5,11 @@ io.mosip.registrationprocessor pre-processor - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 registration-processor-external-stage - 1.2.0.1-SNAPSHOT + 1.2.0.1-B1 UTF-8