File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 74
74
75
75
- name : Upload to PyPI
76
76
uses : pypa/gh-action-pypi-publish@release/v1
77
+ with :
78
+ skip-existing : true
77
79
78
80
Publish-TestPyPI : # task 3: publish to TestPyPI
79
81
name : 📤 Publish to TestPyPI
99
101
uses : pypa/gh-action-pypi-publish@release/v1
100
102
with :
101
103
repository-url : https://test.pypi.org/legacy/
104
+ skip-existing : true
102
105
103
106
Github-Release : # task 4: create a Github Release
104
107
name : 🗳 Create a Release
Original file line number Diff line number Diff line change
1
+ <!-- # v1.4.1 -->
2
+
3
+ ![ ] ( https://img.shields.io/badge/Version-v1.4.1-green )
4
+
5
+ ## 🔄 Change
6
+
7
+ - ` .github/workflows/publish_release.yml ` : add ` skip-existing: true ` to skip publishing when there exists a same version package.
8
+ - ` MANIFEST.in ` : exclude ` shell ` files from the package.
9
+
10
+ ---
11
+
1
12
<!-- # v1.4.0 -->
2
13
3
14
![ ] ( https://img.shields.io/badge/Version-v1.4.0-green )
Original file line number Diff line number Diff line change 1
1
## 📦 A Project Template for Self-developed Python Package
2
2
3
- [ ![ Package Version] ( https://img.shields.io/badge/Version-v1.4.0 -green )] ( https://github.com/Ahzyuan/Python-package-template/releases/tag/v1.4.0 )
3
+ [ ![ Package Version] ( https://img.shields.io/badge/Version-v1.4.1 -green )] ( https://github.com/Ahzyuan/Python-package-template/releases/tag/v1.4.1 )
4
4
[ ![ License] ( https://img.shields.io/badge/License-MIT-khaki )] ( https://opensource.org/license/MIT )
5
5
![ Pypi Template] ( https://img.shields.io/badge/PyPI-Package_pattern-yellow?logo=pypi&labelColor=%23FAFAFA )
6
6
You can’t perform that action at this time.
0 commit comments