Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
fix(package): 修复aur二进制包命名相同无法更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ambition_echo committed Aug 5, 2022
1 parent 8d9cef5 commit 6fbe3ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ upload:
- if: $CI_COMMIT_TAG
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file upload/earth-wallpaper-deepin-amd64.deb "${PACKAGE_REGISTRY_URL}/earth-wallpaper-deepin-amd64.deb"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file upload/earth-wallpaper-other-amd64.deb "${PACKAGE_REGISTRY_URL}/earth-wallpaper-other-amd64.deb"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file upload/earth-wallpaper-deepin-amd64.deb "${PACKAGE_REGISTRY_URL}/earth-wallpaper-deepin-amd64-$CI_COMMIT_TAG.deb"
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file upload/earth-wallpaper-other-amd64.deb "${PACKAGE_REGISTRY_URL}/earth-wallpaper-other-amd64-$CI_COMMIT_TAG.deb"
release:
Expand All @@ -54,5 +54,5 @@ release:
script:
- |
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
--assets-link "{\"name\":\"earth-wallpaper-deepin-amd64.deb\",\"url\":\"${PACKAGE_REGISTRY_URL}/earth-wallpaper-deepin-amd64.deb\"}"\
--assets-link "{\"name\":\"earth-wallpaper-other-amd64.deb\",\"url\":\"${PACKAGE_REGISTRY_URL}/earth-wallpaper-other-amd64.deb\"}"
--assets-link "{\"name\":\"earth-wallpaper-deepin-amd64-$CI_COMMIT_TAG.deb\",\"url\":\"${PACKAGE_REGISTRY_URL}/earth-wallpaper-deepin-amd64-$CI_COMMIT_TAG.deb\"}"\
--assets-link "{\"name\":\"earth-wallpaper-other-amd64-$CI_COMMIT_TAG.deb\",\"url\":\"${PACKAGE_REGISTRY_URL}/earth-wallpaper-other-amd64-$CI_COMMIT_TAG.deb\"}"
2 changes: 1 addition & 1 deletion package/aur/bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgdesc="实时获取地球照片作为桌面壁纸"
arch=('x86_64')
url="https://jihulab.com/ambition-echo/earth_wallpaper"
license=('GPL3')
source=("https://jihulab.com/api/v4/projects/40487/packages/generic/earth_wallpaper/$pkgver/earth-wallpaper-deepin-amd64.deb")
source=("https://jihulab.com/api/v4/projects/40487/packages/generic/earth_wallpaper/$pkgver/earth-wallpaper-deepin-amd64-$pkgver.deb")
sha256sums=('SKIP')
depends=('qt5-base' 'python' 'python-pillow' 'python-requests')
build() {
Expand Down

0 comments on commit 6fbe3ef

Please sign in to comment.