Merge pull request #569 from SORMAS-Foundation/HSP-6341-sormas-1-90-0 #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create pre-release | |
on: | |
push: | |
branches: | |
- "integration" | |
jobs: | |
pre-release: | |
name: "Pre 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/action-gh-release@v0.1.14 | |
#if: startsWith(github.ref, 'refs/tags/') | |
with: | |
prerelease: true | |
tag_name: v${{ env.SORMAS_DOCKER_VERSION }} | |
target_commitish: integration | |
body: | | |
## Versions | |
SORMAS VERSION: ${{ env.SORMAS_VERSION }} | |
## Application release notes | |
https://github.com/sormas-foundation/SORMAS-Project/releases/tag/v${{ env.SORMAS_VERSION }} |