Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myrrc committed Jul 17, 2023
1 parent 66e8199 commit eac73a2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,25 +146,22 @@ jobs:
path: out/ch-tools*.deb
if-no-files-found: error

#if: startsWith(github.ref, 'refs/tags/')
- name: create tag
uses: rickstaa/action-create-tag@v1
with:
tag: "latest"

#if: startsWith(github.ref, 'refs/tags/')
- name: create a release
uses: softprops/action-gh-release@v1
if: ${{ matrix.clickhouse == 'latest' && matrix.target.ubuntu == 'latest' }}
#if: && startsWith(github.ref, 'refs/tags/') }}
with:
generate_release_notes: true
fail_on_unmatched_files: true
tag_name: 0.0.0
files: |
dist/*.whl
dist/*.tar.gz
out/ch-tools*.deb
#if: startsWith(github.ref, 'refs/tags/')
- name: publish to pypi
if: ${{ matrix.clickhouse == 'latest' && matrix.target.ubuntu == 'latest' }}
#if: && startsWith(github.ref, 'refs/tags/') }}
run: flit publish --no-use-vcs
env:
FLIT_USERNAME: "__token__"
Expand Down

0 comments on commit eac73a2

Please sign in to comment.