Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
vietanhdev committed Nov 10, 2024
1 parent e6fa999 commit bb39269
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Create Release
id: create_release
uses: mikepenz/action-gh-release@v0.2.0-a03
uses: softprops/action-gh-release@v2
with:
body: ${{steps.github_release.outputs.changelog}}
draft: true
Expand All @@ -52,7 +52,7 @@ jobs:
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt

- name: Save release url file for publish
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
pyinstaller anylabeling.spec
- name: Load release url file from release job
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: release_url

Expand All @@ -110,7 +110,7 @@ jobs:
- name: Upload release executable on macOS & Linux
id: upload_release_executable_macos_linux
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -122,7 +122,7 @@ jobs:

- name: Upload release executable on Windows
id: upload_release_executable_windows
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -142,7 +142,7 @@ jobs:

- name: Upload release app on macOS
id: upload_release_app_macos
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
pyinstaller anylabeling.spec
- name: Load release url file from release job
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: release_url

Expand All @@ -205,7 +205,7 @@ jobs:
- name: Upload release executable on macOS & Linux
id: upload_release_executable_macos_linux
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -217,7 +217,7 @@ jobs:

- name: Upload release executable on Windows
id: upload_release_executable_windows
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -237,7 +237,7 @@ jobs:

- name: Upload release app on macOS
id: upload_release_app_macos
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion anylabeling/app_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__appname__ = "AnyLabeling"
__appdescription__ = "Effortless data labeling with AI support"
__version__ = "0.4.11"
__version__ = "0.4.12"
__preferred_device__ = "CPU" # GPU or CPU

0 comments on commit bb39269

Please sign in to comment.