diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc20167..3c50acb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,7 @@ jobs: if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }} uses: actions/gitea-release-action@v1 with: + name: "Amor-Eos ${{ env.RELEASE_TAG }}" tag_name: ${{ env.RELEASE_TAG }} files: |- dist/amor*.tar.gz @@ -122,7 +123,7 @@ jobs: this_tag=$(python -c "import eos;print('v'+eos.__version__)") prev_tag=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`) echo "Relese tag $this_tag with changes since $prev_tag" - commit_messages=$'Commits since previous release: \n\n'$(git log $prev_tag..HEAD --pretty=format:"* %s") + commit_messages=$(git log $prev_tag..HEAD --pretty=format:"* %s") echo "Commit messages: $commit_messages" echo "RELEASE_TAG=$this_tag" >> $GITHUB_ENV echo "RELEASE_NOTE=$commit_messages" >> $GITHUB_ENV @@ -131,5 +132,4 @@ jobs: with: name: "Amor-Eos ${{ env.RELEASE_TAG }}" tag_name: ${{ env.RELEASE_TAG }} - prerelease: true body: ${{ env.RELEASE_NOTE }} diff --git a/update.md b/update.md index e7f3c6a..954e27d 100644 --- a/update.md +++ b/update.md @@ -1,16 +1,15 @@ -Make new release -================ - -- Update revision in `eos/__init__.py` -- Commit changes `git commit -a -m "your message here"` -- Tag version `git tag v3.x.y` -- Push changes `git push` and `git push --tags` -- This should trigger the **Release** action on GitHub that builds a new version and uploads it to PyPI. - - -Update on AMOR -============== - -- Login via SSH using the **amor** user. -- Activate eos virtual environment `source /home/software/virtualenv/eosenv/bin/activate` -- Update eos packge `pip install --upgrade amor-eos` +Make new release +================ + +- Update revision in `eos/__init__.py` +- Commit changes `git commit -a -m "your message here"` +- Push changes `git push` and `git push --tags` +- Use the **Release** action on Gitea with option "all_incl_release", that builds a new version and uploads it to PyPI. + + +Update on AMOR-DR +================= + +- Login via SSH using the **amor-dr** user. +- Activate eos virtual environment `source /home/software/virtualenv/eosenv/bin/activate` +- Update eos packge `pip install --upgrade amor-eos`