diff --git a/.github/workflows/create-release-and-publish.yml b/.github/workflows/create-release-and-publish.yml index c82bd66..43643b5 100644 --- a/.github/workflows/create-release-and-publish.yml +++ b/.github/workflows/create-release-and-publish.yml @@ -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