From 30e27f514129c032b524f0534a73486e91921fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20T=C3=B3th?= Date: Sat, 23 Sep 2023 00:03:24 +0200 Subject: [PATCH] Add CI job to create release (#40) * Add CI job to create release * Set Version: 0.1.4 --------- Co-authored-by: devops --- .github/workflows/master-push.yml | 19 +++++++++++++++++++ package/version | 2 +- pyproject.toml | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master-push.yml b/.github/workflows/master-push.yml index 4f56eca28..7cbb665b1 100644 --- a/.github/workflows/master-push.yml +++ b/.github/workflows/master-push.yml @@ -6,6 +6,25 @@ on: jobs: + cut-release: + name: 'Cut Release' + runs-on: ubuntu-latest + steps: + - name: 'Check out code' + uses: actions/checkout@v3 + with: + ref: ${{ github.event.push.head.sha }} + fetch-depth: 0 + + - name: 'Create Release' + env: + GITHUB_TOKEN: ${{ secrets.JENKINS_GITHUB_PAT }} + run: | + set -x + VERSION=v$(cat package/version) + gh release create ${VERSION} --target ${{ github.sha }} + + dockerhub: name: 'Build and Publish Docker Image' runs-on: [self-hosted, linux, normal] diff --git a/package/version b/package/version index b1e80bb24..845639eef 100644 --- a/package/version +++ b/package/version @@ -1 +1 @@ -0.1.3 +0.1.4 diff --git a/pyproject.toml b/pyproject.toml index 64b9c6d96..f7cca2a0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "kontrol" -version = "0.1.3" +version = "0.1.4" description = "Foundry integration for KEVM" authors = [ "Runtime Verification, Inc. ",