From 2da0008a2841061680247f239a57674ce24d4c0a Mon Sep 17 00:00:00 2001 From: Gene Date: Tue, 22 Jul 2025 11:50:32 +0800 Subject: [PATCH 1/5] fix: publish error --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 374827d8..64975cbb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,7 +82,7 @@ jobs: mkdir -p dist/localproxy-linux-${ARCH} tar -xvf localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar -C dist/localproxy-linux-${ARCH} - nfpm pkg --packager deb --target debian/localproxy_${VERSION}_${ARCH}.deb + nfpm pkg --packager deb --target debian/localproxy-linux-<< parameters.architecture >><< parameters.variant >>.deb - store_artifacts: path: localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - store_artifacts: From 74ddee2504c596f3dafdeefa1f99c63c9512bd6b Mon Sep 17 00:00:00 2001 From: Gene Date: Tue, 22 Jul 2025 13:51:20 +0800 Subject: [PATCH 2/5] fix: publish malfunction --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 64975cbb..fb6eb571 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,7 +82,7 @@ jobs: mkdir -p dist/localproxy-linux-${ARCH} tar -xvf localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar -C dist/localproxy-linux-${ARCH} - nfpm pkg --packager deb --target debian/localproxy-linux-<< parameters.architecture >><< parameters.variant >>.deb + nfpm pkg --packager deb --target debian/ - store_artifacts: path: localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - store_artifacts: @@ -91,7 +91,7 @@ jobs: root: . paths: - localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - - debian/<< parameters.architecture >><< parameters.variant >> + - debian/ build-mac: macos: @@ -160,14 +160,14 @@ jobs: - run: name: Publish to Package Cloud command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' - unless: condition: << pipeline.git.tag >> steps: - run: name: Publish to Package Cloud (Dry Run) command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' workflows: release: From 43af1021749d31385243667e07fce450e17aebf9 Mon Sep 17 00:00:00 2001 From: Gene Date: Tue, 22 Jul 2025 13:58:52 +0800 Subject: [PATCH 3/5] fix: publish malfunction --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb6eb571..e403f1e5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,7 +91,7 @@ jobs: root: . paths: - localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - - debian/ + - debian/<< parameters.architecture >><< parameters.variant >> build-mac: macos: @@ -160,14 +160,14 @@ jobs: - run: name: Publish to Package Cloud command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' - unless: condition: << pipeline.git.tag >> steps: - run: name: Publish to Package Cloud (Dry Run) command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' workflows: release: From ae6b8c521b9744bc69672905d7c5579dbeee9b9d Mon Sep 17 00:00:00 2001 From: Gene Date: Tue, 22 Jul 2025 14:03:54 +0800 Subject: [PATCH 4/5] fix: publish malfunction --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e403f1e5..c77bd3e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -160,14 +160,14 @@ jobs: - run: name: Publish to Package Cloud command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' - unless: condition: << pipeline.git.tag >> steps: - run: name: Publish to Package Cloud (Dry Run) command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' workflows: release: From 9833b9291852820172bd481fd6659ee7690024f3 Mon Sep 17 00:00:00 2001 From: Gene Date: Tue, 22 Jul 2025 14:13:37 +0800 Subject: [PATCH 5/5] fix: publish malfunction --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c77bd3e0..d14c0bd5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,15 +78,15 @@ jobs: # Some package managers, like deb, require the version to start with a digit. export VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//') - mkdir -p debian + mkdir -p debian/<< parameters.architecture >><< parameters.variant >> mkdir -p dist/localproxy-linux-${ARCH} tar -xvf localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar -C dist/localproxy-linux-${ARCH} - nfpm pkg --packager deb --target debian/ + nfpm pkg --packager deb --target debian/<< parameters.architecture >><< parameters.variant >>/ - store_artifacts: path: localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - store_artifacts: - path: debian + path: debian/<< parameters.architecture >><< parameters.variant >> - persist_to_workspace: root: . paths: @@ -160,14 +160,14 @@ jobs: - run: name: Publish to Package Cloud command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian/* -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' - unless: condition: << pipeline.git.tag >> steps: - run: name: Publish to Package Cloud (Dry Run) command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian/* -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' workflows: release: