File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,15 @@ jobs:
7878 # Some package managers, like deb, require the version to start with a digit.
7979 export VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
8080
81- mkdir -p debian
81+ mkdir -p debian/<< parameters.architecture >><< parameters.variant >>
8282 mkdir -p dist/localproxy-linux-${ARCH}
8383
8484 tar -xvf localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar -C dist/localproxy-linux-${ARCH}
85- nfpm pkg --packager deb --target debian/localproxy_${VERSION}_${ARCH}.deb
85+ nfpm pkg --packager deb --target debian/<< parameters.architecture >><< parameters.variant >>/
8686 - store_artifacts :
8787 path : localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz
8888 - store_artifacts :
89- path : debian
89+ path : debian/<< parameters.architecture >><< parameters.variant >>
9090 - persist_to_workspace :
9191 root : .
9292 paths :
@@ -160,14 +160,14 @@ jobs:
160160 - run :
161161 name : Publish to Package Cloud
162162 command : |
163- 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/{} @'
163+ 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/{} @'
164164 - unless :
165165 condition : << pipeline.git.tag >>
166166 steps :
167167 - run :
168168 name : Publish to Package Cloud (Dry Run)
169169 command : |
170- 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/{} @"'
170+ 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/{} @"'
171171
172172workflows :
173173 release :
You can’t perform that action at this time.
0 commit comments