Skip to content

Commit 6d5d7d9

Browse files
authored
Merge pull request #4 from VerdigrisTech/publishMalfunction
Publish malfunction
2 parents 0f14338 + 9833b92 commit 6d5d7d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
172172
workflows:
173173
release:

0 commit comments

Comments
 (0)