Add legacy release version 1.05 #13
Workflow file for this run
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: InChI Release | |
on: | |
push: | |
tags: | |
- v1.* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Checkout release | |
# `ref_name` is triggering tag. | |
run: git checkout ${{ github.ref_name }} | |
- name: Build release artifacts | |
run: | | |
zip -r INCHI-1-BIN.zip INCHI-1-BIN | |
zip -r INCHI-1-DOC.zip INCHI-1-DOC | |
zip -r INCHI-1-SRC.zip INCHI-1-SRC | |
zip -r INCHI-1-TEST.zip INCHI-1-TEST | |
- name: Create release | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# See https://cli.github.com/manual/gh_release_create. | |
run: | | |
gh release create ${{ github.ref_name }} \ | |
--verify-tag \ | |
--title "${{ github.ref_name }}" \ | |
--notes "For details about this release have a look at the [CHANGELOG](CHANGELOG.md)." \ | |
INCHI-1-BIN.zip INCHI-1-DOC.zip INCHI-1-SRC.zip INCHI-1-TEST.zip |