Skip to content

Commit

Permalink
Merge pull request #4 from AndersSteenNilsen/releases/first_ci_release
Browse files Browse the repository at this point in the history
First ci release
  • Loading branch information
AndersSteenNilsen authored Jul 22, 2023
2 parents cc73657 + 936903e commit 9742c34
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
name: release

permissions:
contents: write
pull-requests: read

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

env:
SERVER: production


jobs:
run:
name: Bump and release
Expand Down Expand Up @@ -34,5 +43,8 @@ jobs:
- name: build
run: hatch build

- name: release
run: hatch release
- name: publish
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
run: hatch publish
2 changes: 1 addition & 1 deletion src/zshgpt/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present Anders Steen <[email protected]
#
# SPDX-License-Identifier: MIT
__version__ = '0.1.2'
__version__ = '0.2.0'

0 comments on commit 9742c34

Please sign in to comment.