diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 43f6c48..79e54ad 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -2,7 +2,7 @@ commit = True tag = False message = Bump version: {current_version} → {new_version} -current_version = 5.1.11 +current_version = 5.1.10 [bumpversion:file:setup.py] search = '{current_version}' diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 3673485..152699b 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -61,28 +61,28 @@ jobs: - os: ubuntu-latest TARGET: ubuntu CMD_BUILD: > - pyinstaller cli.spec && \ + pyinstaller cli.spec && mv dist/cli fosslight_bin_ubuntu OUT_FILE_NAME: fosslight_bin_ubuntu ASSET_MIME: application/octet-stream - os: macos-latest TARGET: macos CMD_BUILD: > - pyinstaller cli.spec && \ + pyinstaller cli.spec && mv dist/cli fosslight_bin_macos OUT_FILE_NAME: fosslight_bin_macos - ASSET_MIME: aapplication/x-mach-binary + ASSET_MIME: application/x-mach-binary - os: windows-latest TARGET: windows CMD_BUILD: > - pyinstaller cli.spec && \ + pyinstaller cli.spec && move dist/cli.exe fosslight_bin_windows.exe OUT_FILE_NAME: fosslight_bin_windows.exe ASSET_MIME: application/vnd.microsoft.portable-executable steps: - uses: actions/checkout@v3 with: - ref: main + fetch-depth: 0 - name: Set up Python 3.12 uses: actions/setup-python@v4 with: @@ -98,7 +98,7 @@ jobs: id: upload-release-asset uses: softprops/action-gh-release@v1 env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ github.token }} with: asset_path: ./${{ matrix.OUT_FILE_NAME}} deploy: @@ -107,7 +107,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: main + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v4 with: diff --git a/setup.py b/setup.py index 9449f3e..8215376 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ setup( name=_PACKAEG_NAME, - version='5.1.11', + version='5.1.10', package_dir={"": "src"}, packages=find_packages(where='src'), description='FOSSLight Binary Scanner',