Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
nfpm pkg --packager deb --target debian/<< parameters.architecture >><< parameters.variant >>
- store_artifacts:
path: localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz
- store_artifacts:
Expand All @@ -91,7 +91,7 @@ jobs:
root: .
paths:
- localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz
- debian/
- debian/<< parameters.architecture >><< parameters.variant >>

build-mac:
macos:
Expand Down Expand Up @@ -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:
Expand Down
Loading