0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

added sha256sums to (ci) build, bumped release to test the new ci config.

This commit is contained in:
Bert van der Weerd 2022-02-05 20:41:17 +01:00
parent 7bc0b83da5
commit d3c92c2a1d
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
3 changed files with 12 additions and 1 deletions

View file

@ -13,6 +13,7 @@ Build:
artifacts:
paths:
- librewolf-*.source.tar.gz
- librewolf-*.source.tar.gz.sha256sum
reports:
dotenv: variables.env
@ -39,6 +40,11 @@ Release:
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
--upload-file librewolf-$VERSION-$RELEASE.source.tar.gz \
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/librewolf-source/$VERSION-$RELEASE/librewolf-$VERSION-$RELEASE.source.tar.gz"
- |
curl \
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
--upload-file librewolf-$VERSION-$RELEASE.source.tar.gz.sha256sum \
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/librewolf-source/$VERSION-$RELEASE/librewolf-$VERSION-$RELEASE.source.tar.gz.sha256sum"
release:
tag_name: "$VERSION-$RELEASE"
description: "LibreWolf v$VERSION-$RELEASE"
@ -47,3 +53,6 @@ Release:
- name: librewolf-$VERSION-$RELEASE.source.tar.gz
link_type: package
url: $CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/librewolf-source/$VERSION-$RELEASE/librewolf-$VERSION-$RELEASE.source.tar.gz
- name: librewolf-$VERSION-$RELEASE.source.tar.gz
link_type: other
url: $CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/librewolf-source/$VERSION-$RELEASE/librewolf-$VERSION-$RELEASE.source.tar.gz.sha256sum

View file

@ -73,6 +73,8 @@ librewolf-$(version)-$(release).source$(ext) : $(upstream_filename) ./version ./
rm -f librewolf-$(version)-$(release).source$(ext)
$(archive_create) librewolf-$(version)-$(release).source$(ext) librewolf-$(version)
touch librewolf-$(version)
sha256sum librewolf-$(version)-$(release).source$(ext) > librewolf-$(version)-$(release).source$(ext).sha256sum
cat librewolf-$(version)-$(release).source$(ext).sha256sum
librewolf-$(version) : librewolf-$(version)-$(release).source$(ext)
tar xf librewolf-$(version)-$(release).source$(ext)

View file

@ -1 +1 @@
3
4