Skip to content

Commit

Permalink
Merge pull request #30 from freedomofpress/fix-automated-debian-packa…
Browse files Browse the repository at this point in the history
…ge-build

Build Debian package from repository instead of tarball
  • Loading branch information
legoktm authored Jun 3, 2022
2 parents e740986 + a572722 commit 018a712
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,13 @@ common-steps:
# previous run step), else return 0.
git diff --quiet
- &make_source_tarball
run:
name: Tag and make source tarball
command: |
cd ~/project
./update_version.sh 1000.0 # Dummy version number, doesn't matter what we put here
python3 setup.py sdist
- &build_debian_package
run:
name: Build debian package
command: |
cd ~/packaging/securedrop-debian-packaging
export PKG_VERSION=1000.0
export PKG_PATH=/home/circleci/project/dist/securedrop-log-$PKG_VERSION.tar.gz
export PKG_PATH=~/project/
make securedrop-log
version: 2
Expand All @@ -61,7 +53,6 @@ jobs:
- *removevirtualenv
- *install_packaging_dependencies
- *verify_requirements
- *make_source_tarball
- *build_debian_package

workflows:
Expand Down

0 comments on commit 018a712

Please sign in to comment.