Skip to content

v0.3 release

v0.3 release #4

Workflow file for this run

name: Release checks
on:
push:
tags:
- 'v*'
jobs:
myjob:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Verify version number
run: |
TAG="$(git describe --abbrev=0 --tags)"
VERSION="$(./bpt.sh -v)"
if [[ "$TAG" != "$VERSION" ]]; then
echo "ERROR: Version mismatch between Git tag ($TAG) and bpt ($VERSION)"
exit 1
fi