Skip to content

Conversation

flagarde
Copy link
Contributor

@flagarde flagarde commented Mar 13, 2025

Calculate all the Hash to print on the release to be able to use

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(Nice)

include(FetchContent)

FetchContent_Declare(
  CPM
  URL https://github.com/cpm-cmake/CPM.cmake/archive/refs/tags/***.zip
  URL_HASH   SHA224=***
)

Example:

https://github.com/external-packages/CPM.cmake/releases/tag/v5.36.21

All the hashes that CMake recognize are calculated

Calculate all the Hash to print on the release to be able to use 

'''cmake
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(ffff)

include(FetchContent)

FetchContent_Declare(
  CPM
  URL https://github.com/cpm-cmake/CPM.cmake/archive/refs/tags/***.zip
  URL_HASH   SHA224=***
)
'''
@flagarde flagarde changed the title Update publish.yaml Calculate hashes for assets and print them in release page Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant