Skip to content

Commit b6bf8dc

Browse files
Bump version to 0.1.0.dev0
1 parent 599b3ef commit b6bf8dc

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.github/workflows/github-release.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Create GitHub Release"
2+
on:
3+
workflow_run:
4+
workflows:
5+
- "Tests"
6+
branches:
7+
- master
8+
types:
9+
- completed
10+
jobs:
11+
release:
12+
runs-on: ubuntu-20.04
13+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: "Get Jupyter Workflow version"
17+
run: echo "JF_VERSION=$(cat jupyter_workflow/version.py | grep -oP '(?<=VERSION = \")(.*)(?=\")')" >> $GITHUB_ENV
18+
- name: "Check tag existence"
19+
uses: mukunku/[email protected]
20+
id: check-tag
21+
with:
22+
tag: ${{ env.JF_VERSION }}
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
- name: "Create Release"
26+
id: create-release
27+
uses: actions/create-release@v1
28+
if: ${{ steps.check-tag.outputs.exists == 'false' }}
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
with:
32+
tag_name: ${{ env.JF_VERSION }}
33+
release_name: ${{ env.JF_VERSION }}
34+
draft: false
35+
prerelease: false

jupyter_workflow/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.0.37"
1+
VERSION = "0.1.0.dev0"

0 commit comments

Comments
 (0)