aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdam Janovsky2022-04-25 22:54:32 +0200
committerAdam Janovsky2022-04-25 22:54:32 +0200
commit09d65719c133a2c5b378f0ca95e6d4c2cffe60e8 (patch)
tree8606b4951ba62948684109f44a4429e2fc5ed15e /.github/workflows
parent66cadc5e78556de4f9c6ba684e74f1e776449b05 (diff)
downloadsec-certs-09d65719c133a2c5b378f0ca95e6d4c2cffe60e8.tar.gz
sec-certs-09d65719c133a2c5b378f0ca95e6d4c2cffe60e8.tar.zst
sec-certs-09d65719c133a2c5b378f0ca95e6d4c2cffe60e8.zip
alpha version file
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/draft_release.yml24
1 files changed, 19 insertions, 5 deletions
diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml
index 99638f49..1d18367f 100644
--- a/.github/workflows/draft_release.yml
+++ b/.github/workflows/draft_release.yml
@@ -2,13 +2,27 @@ name: Create release draft
on:
push:
- branches:
- - "main"
- tags:
- - "*.*.*"
+ # branches:
+ # - "main"
+ # tags:
+ # - "*.*.*"
jobs:
- build:
+ check-version:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Read VERSION file
+ run: echo "ACTUAL_VERSION=$(cat VERSION)" >> $GITHUB_ENV
+ - name: Check versions
+ run: |
+ if (!(${{env.PACKAGE_NUMBER}} = ${{github.ref_name}})) ; then
+ echo "Tag does not match version number in VERSION file"
+ exit 1
+ fi
+
+ draft-release:
runs-on: ubuntu-latest
steps:
- name: Checkout