Skip to content

Merge pull request #595 from SORMAS-Foundation/HSP-6611-freigabe-sorm… #21

Merge pull request #595 from SORMAS-Foundation/HSP-6611-freigabe-sorm…

Merge pull request #595 from SORMAS-Foundation/HSP-6611-freigabe-sorm… #21

Workflow file for this run

name: Create release
on:
push:
branches:
- "master"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get versions
run: |
echo "SORMAS_DOCKER_VERSION=$(cat .env | grep SORMAS_DOCKER_VERSION | cut -d '=' -f2)" >> $GITHUB_ENV
echo "SORMAS_VERSION=$(cat .env | grep SORMAS_VERSION | cut -d '=' -f2)" >> $GITHUB_ENV
- name: Release
uses: softprops/[email protected]
#if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: false
tag_name: v${{ env.SORMAS_DOCKER_VERSION }}
target_commitish: master
body: |
## Versions
SORMAS VERSION: ${{ env.SORMAS_VERSION }}
## Application release notes
https://github.com/sormas-foundation/SORMAS-Project/releases/tag/v${{ env.SORMAS_VERSION }}