Skip to content

Commit c2a5233

Browse files
URL error?
1 parent 71e3dfa commit c2a5233

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ jobs:
5858

5959
# For first publication only, we'll use an API token
6060
# After the initial release, switch back to trusted publishing
61-
# permissions:
62-
# This permission is mandatory for trusted publishing
63-
# id-token: write
61+
permissions:
62+
# This permission is mandatory for trusted publishing
63+
id-token: write
6464

6565

6666

6767
# Protected environment for publishing
6868
environment:
6969
name: pypi
70-
url: https://pypi.org/p/canvas-cli
70+
url: https://pypi.org/p/canvas-cmd
7171

7272
steps:
7373
- name: Retrieve release distributions
@@ -78,7 +78,3 @@ jobs:
7878

7979
- name: Publish release distributions to PyPI
8080
uses: pypa/gh-action-pypi-publish@release/v1
81-
with:
82-
password: ${{ secrets.PYPI_API_TOKEN }}
83-
# Remove this parameter after first successful publication
84-
# and uncomment the permissions block below

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
version = os.environ.get("RELEASE_VERSION", "0.1.0")
1010

1111
setup(
12-
name="canvas-cli",
12+
name="canvas-cmd", # Short, descriptive, and likely available
1313
version=version,
1414
packages=find_packages(),
1515
install_requires=[

0 commit comments

Comments
 (0)