diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml new file mode 100644 index 000000000..e9bba0e65 --- /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 45431c377..685407d2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Maven Package upon a push](https://github.com/mosip/id-repository/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0)](https://github.com/mosip/id-repository/actions/workflows/push_trigger.yml) -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?branch=release-1.2.0&project=mosip_id-repository&metric=alert_status)](https://sonarcloud.io/dashboard?branch=release-1.2.0&id=mosip_id-repository) +[![Maven Package upon a push](https://github.com/mosip/id-repository/actions/workflows/push_trigger.yml/badge.svg?branch=master)](https://github.com/mosip/id-repository/actions/workflows/push_trigger.yml) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?branch=master&project=mosip_id-repository&metric=alert_status)](https://sonarcloud.io/dashboard?branch=master&id=mosip_id-repository) # ID Repository @@ -8,7 +8,7 @@ This repository contains source code and design documents for MOSIP [ID Repository](https://docs.mosip.io/1.2.0/modules/id-repository) which is the server-side module to manage ID lifecycle. The modules exposes API endpoints. ## Database -See [DB guide](db_scripts/README.md) +See [DB guide](db_scripts/README.md). ## Build & run (for developers) The project requires JDK 1.11. @@ -36,7 +36,7 @@ The project requires JDK 1.11. _config_label_: `master` (git branch of config repo*) _config-url_: `http://localhost:51000` (Url of the config server*) - \* Refer to [kernel-config-server](https://github.com/mosip/commons/tree/master/kernel/kernel-config-server) for details + * Refer to [kernel-config-server](https://github.com/mosip/commons/tree/master/kernel/kernel-config-server) for details 2. kernel-auth-adapter.jar needs to added to the build path to run the service. diff --git a/id-repository/credential-request-generator/pom.xml b/id-repository/credential-request-generator/pom.xml index 707263473..4765e71c1 100644 --- a/id-repository/credential-request-generator/pom.xml +++ b/id-repository/credential-request-generator/pom.xml @@ -32,7 +32,7 @@ 4.5.6 2.8.4 1.2.0 - 42.2.2 + 42.4.1 1.4.2 1.2.0 4.0.1.RELEASE