Skip to content

Commit

Permalink
Dummy wf looks good, moving to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersSteenNilsen committed Jul 24, 2023
1 parent 0bef196 commit 08afd5b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ permissions:

on:
push:
branches:
- 'releases/**'
tags:
- '*'


env:
SERVER: production
Expand All @@ -29,20 +30,10 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

- name: Bump version
run: hatch version minor

- name: Commit version bumb
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -am "Automatic minor version bump"
git push
- name: build
run: hatch build

- name: publish
- name: publish-dummy
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit 08afd5b

Please sign in to comment.