Skip to content

Merge pull request #158 from galaxyproject/minimum-marsupial #72

Merge pull request #158 from galaxyproject/minimum-marsupial

Merge pull request #158 from galaxyproject/minimum-marsupial #72

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
make
- name: Get version
id: version
run: |
VERSION="$(bash gxadmin -v)"
VERSION_NEXT=$(( VERSION + 1 ))
echo "::set-output name=version::${VERSION_NEXT}"
TS="$(date +%s)"
echo "::set-output name=timestamp::${TS}"
echo "::set-output name=tag::v${VERSION}-preview-${TS}"
- name: Extract changelog
run: |
echo "**This is an automated pre-release**" > body.md
echo "" >> body.md
bash gxadmin meta whatsnew >> body.md
- uses: ncipollo/release-action@v1
with:
artifacts: "gxadmin"
artifactContentType: text/x-shellscript
bodyFile: body.md
commit: main
draft: true
tag: ${{ steps.version.outputs.tag }}