Skip to content

Commit

Permalink
Try to revive nightly ppa by advance to alpha~pre1
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 15, 2021
1 parent 47d69b8 commit a5552e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packaging/CPackDebUploadPPA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ if(NOT CPACK_DEBIAN_MARKDOWN)
endif()

# hack from sconscript
if(DEB_UPLOAD_PPA MATCHES "mixxxbetas" OR DEB_UPLOAD_PPA MATCHES "nightlies")
if(DEB_UPLOAD_PPA MATCHES "mixxxbetas")
string(REGEX MATCH "^.*(~git[0-9]*).*$" GITVERSION "${CPACK_DEBIAN_DEBIAN_VERSION_EXTRA}")
set(CPACK_DEBIAN_UPSTREAM_VERSION "${CPACK_DEBIAN_UPSTREAM_VERSION}${CMAKE_MATCH_1}")
endif()

if(DEB_UPLOAD_PPA MATCHES "nightlies")
string(REGEX MATCH "^.*(~git[0-9]*).*$" GITVERSION "${CPACK_DEBIAN_DEBIAN_VERSION_EXTRA}")
set(CPACK_DEBIAN_UPSTREAM_VERSION "${CPACK_DEBIAN_UPSTREAM_VERSION}1${CMAKE_MATCH_1}")
endif()

# PR branches hav no access to the pgp key. Don't sign.
find_program(CPACK_DEBIAN_GPG gpg)
if(CPACK_DEBIAN_GPG)
Expand Down

0 comments on commit a5552e4

Please sign in to comment.