Skip to content

Commit

Permalink
Fix CI for mac to work with all versions (#78)
Browse files Browse the repository at this point in the history
* Fix CI for macOS to work with all versions

* Remove version number from mac installer script

* Remove name for the artifact

* Return back the name
  • Loading branch information
SergeyGadzhilov authored Sep 24, 2023
1 parent 33fcc83 commit 7ea6633
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: SHShare.dmg
path: install/pack/SHShare-0.0.1-Darwin.dmg
path: install/pack/SHShare*.dmg
3 changes: 0 additions & 3 deletions src/install/mac/mac.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ set(CPACK_GENERATOR "DragNDrop")

configure_file("${INSTALL_SCRIPTS}/dependencies.cmake.in" "${INSTALL_SCRIPTS}/dependencies.cmake" @ONLY)
set(CPACK_PRE_BUILD_SCRIPTS ${INSTALL_SCRIPTS}/dependencies.cmake)
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "0")
set(CPACK_PACKAGE_VERSION_PATCH "1")
set(CPACK_PACKAGE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/pack")

include(CPACK)

0 comments on commit 7ea6633

Please sign in to comment.