Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate hashes for assets and print them in release page #656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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