Skip to content

Commit

Permalink
test release action (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
idoavrah authored Jul 21, 2023
1 parent b548259 commit 9b42b6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- dev
- main
release:
types: [published]
types: [released]

permissions:
contents: read
Expand All @@ -26,7 +26,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install poetry
- name: fix version
run: |
sed -i '' 's/x.x.x/${GITHUB_REF#refs/tags/v}/' pyproject.toml
cat pyproject.toml
- name: Build package
run: python -m build
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "tftui"
version = "0.1.2"
version = "x.x.x"
description = "Terraform Textual User Interface"
readme = "README.md"
authors = [{ name = "Ido Avraham" }]
Expand Down

0 comments on commit 9b42b6f

Please sign in to comment.