Skip to content

Commit ec0dc4b

Browse files
committed
Modify publish-release.yml to release in PYPI
1 parent 3def5dc commit ec0dc4b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
commit = True
33
tag = False
44
message = Bump version: {current_version} → {new_version}
5-
current_version = 5.1.11
5+
current_version = 5.1.10
66

77
[bumpversion:file:setup.py]
88
search = '{current_version}'

.github/workflows/publish-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,28 +61,28 @@ jobs:
6161
- os: ubuntu-latest
6262
TARGET: ubuntu
6363
CMD_BUILD: >
64-
pyinstaller cli.spec && \
64+
pyinstaller cli.spec &&
6565
mv dist/cli fosslight_bin_ubuntu
6666
OUT_FILE_NAME: fosslight_bin_ubuntu
6767
ASSET_MIME: application/octet-stream
6868
- os: macos-latest
6969
TARGET: macos
7070
CMD_BUILD: >
71-
pyinstaller cli.spec && \
71+
pyinstaller cli.spec &&
7272
mv dist/cli fosslight_bin_macos
7373
OUT_FILE_NAME: fosslight_bin_macos
74-
ASSET_MIME: aapplication/x-mach-binary
74+
ASSET_MIME: application/x-mach-binary
7575
- os: windows-latest
7676
TARGET: windows
7777
CMD_BUILD: >
78-
pyinstaller cli.spec && \
78+
pyinstaller cli.spec &&
7979
move dist/cli.exe fosslight_bin_windows.exe
8080
OUT_FILE_NAME: fosslight_bin_windows.exe
8181
ASSET_MIME: application/vnd.microsoft.portable-executable
8282
steps:
8383
- uses: actions/checkout@v3
8484
with:
85-
ref: main
85+
fetch-depth: 0
8686
- name: Set up Python 3.12
8787
uses: actions/setup-python@v4
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
id: upload-release-asset
9999
uses: softprops/action-gh-release@v1
100100
env:
101-
GITHUB_TOKEN: ${{ secrets.TOKEN }}
101+
GITHUB_TOKEN: ${{ github.token }}
102102
with:
103103
asset_path: ./${{ matrix.OUT_FILE_NAME}}
104104
deploy:
@@ -107,7 +107,7 @@ jobs:
107107
steps:
108108
- uses: actions/checkout@v3
109109
with:
110-
ref: main
110+
fetch-depth: 0
111111
- name: Set up Python
112112
uses: actions/setup-python@v4
113113
with:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
setup(
5151
name=_PACKAEG_NAME,
52-
version='5.1.11',
52+
version='5.1.10',
5353
package_dir={"": "src"},
5454
packages=find_packages(where='src'),
5555
description='FOSSLight Binary Scanner',

0 commit comments

Comments
 (0)