Skip to content

Commit

Permalink
Bump version to 0.1.0.dev0
Browse files Browse the repository at this point in the history
  • Loading branch information
GlassOfWhiskey committed Apr 24, 2022
1 parent 599b3ef commit b6bf8dc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Create GitHub Release"
on:
workflow_run:
workflows:
- "Tests"
branches:
- master
types:
- completed
jobs:
release:
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v2
- name: "Get Jupyter Workflow version"
run: echo "JF_VERSION=$(cat jupyter_workflow/version.py | grep -oP '(?<=VERSION = \")(.*)(?=\")')" >> $GITHUB_ENV
- name: "Check tag existence"
uses: mukunku/[email protected]
id: check-tag
with:
tag: ${{ env.JF_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Create Release"
id: create-release
uses: actions/create-release@v1
if: ${{ steps.check-tag.outputs.exists == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.JF_VERSION }}
release_name: ${{ env.JF_VERSION }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion jupyter_workflow/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "0.0.37"
VERSION = "0.1.0.dev0"

0 comments on commit b6bf8dc

Please sign in to comment.