diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml new file mode 100644 index 00000000..e9bba0e6 --- /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 cb33f26c..8e6d5a05 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,3 @@ API documentation is available [here](https://mosip.github.io/documentation/). ## License This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE). - - - diff --git a/kernel/kernel-keymanager-service/pom.xml b/kernel/kernel-keymanager-service/pom.xml index 574b033b..5c11fc13 100644 --- a/kernel/kernel-keymanager-service/pom.xml +++ b/kernel/kernel-keymanager-service/pom.xml @@ -55,7 +55,7 @@