Skip to content

Commit

Permalink
Fixed issues with package upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bjasspa committed Dec 24, 2024
1 parent 2e41d2b commit 9e25dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microemacs/contribs/github.emf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ define-macro github-release
set-variable $buffer-fname #l1
shell-command "zip -r downloads/Jasspa_MicroEmacs_Latest_packages.zip packages"
!iif $result -8 ml-write &spr "[Github Release Error: Failed to create packages zip - zip returned %d]" $result
!iif &not &seq "R" &stat t &cat #l1 "Jasspa_MicroEmacs_Latest_packages.zip" -8 ml-write &spr "[Github Release Error: Failed to create packages zip - file not found]"
!iif &not &seq "R" &stat t &cat #l1 "downloads/Jasspa_MicroEmacs_Latest_packages.zip" -8 ml-write &spr "[Github Release Error: Failed to create packages zip - file not found]"
!force 0 delete-buffer "*ghr1*"
!endif
github-api-json "releases" "" &spr "{\"tag_name\":\"%s%s\",\"target_commitish\":\"%s\",\"name\":\"%s%s\",\"generate_release_notes\":false,\"draft\":false,\"prerelease\":true}" .git.hub-rtp #l9 #l0 .git.hub-rnp #l9
Expand Down

0 comments on commit 9e25dd4

Please sign in to comment.