diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a23a692..ccd97b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: @@ -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\"}" \ No newline at end of file + --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\"}" \ No newline at end of file diff --git a/package/aur/bin/PKGBUILD b/package/aur/bin/PKGBUILD index 98a0d5f..5f1583d 100644 --- a/package/aur/bin/PKGBUILD +++ b/package/aur/bin/PKGBUILD @@ -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() {