Skip to content

Commit

Permalink
Added "source" to tarball name when "making" it for easier CI/CD.
Browse files Browse the repository at this point in the history
  • Loading branch information
manticoresearch committed Jun 16, 2020
2 parents 69c3893 + 7792eb2 commit 751f340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/CPackOptions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ if ( CPACK_GENERATOR )
endif()
endif()

set ( TARBALL_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}-${TARBALL_VERSION}" )
set ( TARBALL_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}-${TARBALL_VERSION}-source" )
SET ( CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}${_d}${FULL_VERSION}" )

# rpm specific (used inside .spec template)
SET ( CPACK_RPM_PACKAGE_VERSION "${VERNUMBERS}-${GIT_TIMESTAMP_ID}.${GIT_COMMIT_ID}" )
SET ( CPACK_RPM_PACKAGE_VERSION "${VERNUMBERS}-${GIT_TIMESTAMP_ID}.${GIT_COMMIT_ID}" )

0 comments on commit 751f340

Please sign in to comment.