Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

give up on semantic release for now #43

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: Release

on:
push:
branches:
- main
release:
types: [published]

jobs:
release:
environment: release
name: Release to PyPI
concurrency: release
permissions:
contents: write
id-token: write

runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,12 +44,9 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

- name: Semantic release
- name: Build
run: |
poetry run semantic-release version --no-changelog
poetry run semantic-release publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
poetry build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
196 changes: 7 additions & 189 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 1 addition & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ packages = [
{ include = "pyview" },
]

version = "0.0.22"
version = "0.0.23"
description = "LiveView in Python"
authors = ["Larry Ogrodnek <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -57,7 +57,6 @@ pytest = "^7.2.0"
black = "24.3.0"
pyright = "1.1.292"
aiohttp = "^3.8.4"
python-semantic-release = "^9.8.7"

[tool.poetry.group.profiling.dependencies]
scalene = "^1.5.19"
Expand All @@ -79,15 +78,3 @@ exclude = [
"**/node_modules",
"**/__pycache__",
]

[tool.semantic_release]
version_toml = [
"pyproject.toml:version",
]
upload_to_pypi = false
upload_to_vcs_release = true
build_command = "poetry build"

[tool.semantic_release.branches.main]
match="main"

Loading