Update package version to 1.91.0_1
This commit is contained in:
+5
-2
@@ -6,7 +6,10 @@ REPO="boostorg/boost"
|
||||
# Get tag name using Github Rest API
|
||||
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases | jq -r '.[].tag_name' | grep -v 'beta' | head -n1)
|
||||
|
||||
# Get version number from tag name
|
||||
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||
# Trim prefix
|
||||
VERSION=${TAG_NAME//boost-/}
|
||||
|
||||
# Replace '-' with '_'
|
||||
VERSION=${VERSION//-/_}
|
||||
|
||||
echo "$VERSION"
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
name: boost
|
||||
description: Collection of high-quality and peer-reviewed libraries that aims to make C++ development highly productive
|
||||
version: 1.90.0
|
||||
version: 1.91.0_1
|
||||
revision: 1
|
||||
url: https://www.boost.org/
|
||||
license: BSL-1.0
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
@@ -17,7 +19,7 @@ make_depends:
|
||||
- zlib
|
||||
- zstd
|
||||
downloads:
|
||||
- url: https://github.com/boostorg/boost/releases/download/boost-${BPM_PKG_VERSION}/boost-${BPM_PKG_VERSION}-b2-nodocs.tar.xz
|
||||
- url: https://github.com/boostorg/boost/releases/download/boost-${BPM_PKG_VERSION//_/-}/boost-${BPM_PKG_VERSION//_/-}-b2-nodocs.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 9e6bee9ab529fb2b0733049692d57d10a72202af085e553539a05b4204211a6f
|
||||
checksum: 7334bb672b9c7aa135da88bcc3111a64a198be9a7d44eb5151d9248e7cfd43ef
|
||||
|
||||
Reference in New Issue
Block a user