Skip to content

Commit

Permalink
Fix version parsing regex in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jwon committed Feb 7, 2020
1 parent dbe01ad commit b6bd71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@master
- name: Get version
id: get_version
run: echo "::set-output name=version::$(grep -Po '\d.\d.\d' src/oncall/__init__.py)"
run: echo "::set-output name=version::$(grep -Po '\d*\.\d*\.\d*' src/oncall/__init__.py)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit b6bd71f

Please sign in to comment.