Update changelog and version bump, and update CircleCI to support Ubuntu 20.10 and Fedora 32

This commit is contained in:
Micah Lee 2020-10-26 14:07:14 -07:00
parent 71fff406d2
commit 9c0f61488a
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
6 changed files with 76 additions and 12 deletions

View file

@ -9,7 +9,7 @@ jobs:
name: Install dependencies
command: |
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install --no-ri --no-rdoc rake
gem install --no-ri --no-rdoc package_cloud
- checkout
@ -33,7 +33,7 @@ jobs:
name: Install dependencies
command: |
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install --no-ri --no-rdoc rake
gem install --no-ri --no-rdoc package_cloud
- checkout
@ -58,7 +58,32 @@ jobs:
command: |
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install -N rake
gem install -N package_cloud
- checkout
- run:
name: Create the .deb package
command: |
./install/linux/build_deb.py
dpkg -i deb_dist/dangerzone_*-1_all.deb
- run:
name: Deploy to packagecloud.io
command: |
VERSION=$(cat dangerzone/__init__.py |grep "dangerzone_version = " |cut -d '"' -f2)
package_cloud push firstlookmedia/code/ubuntu/focal deb_dist/dangerzone_${VERSION}-1_all.deb
package_cloud push firstlookmedia/code/ubuntu/focal deb_dist/dangerzone_${VERSION}-1.dsc
build-ubuntu-groovy:
docker:
- image: ubuntu:20.10
steps:
- run:
name: Install dependencies
command: |
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install -N rake
gem install -N package_cloud
- checkout
@ -82,7 +107,7 @@ jobs:
name: Install dependencies
command: |
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install --no-ri --no-rdoc rake
gem install --no-ri --no-rdoc package_cloud
- checkout
@ -106,7 +131,7 @@ jobs:
name: Install dependencies
command: |
apt-get update
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-termcolor
gem install -N rake
gem install -N package_cloud
- checkout
@ -129,7 +154,7 @@ jobs:
- run:
name: Install dependencies
command: |
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker python3-termcolor
gem install package_cloud
- checkout
- run:
@ -151,7 +176,7 @@ jobs:
- run:
name: Install dependencies
command: |
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker python3-termcolor
gem install package_cloud
- checkout
- run:
@ -166,6 +191,28 @@ jobs:
package_cloud push firstlookmedia/code/fedora/31 dist/dangerzone-${VERSION}-1.noarch.rpm
package_cloud push firstlookmedia/code/fedora/31 dist/dangerzone-${VERSION}-1.src.rpm
build-fedora-32:
docker:
- image: fedora:32
steps:
- run:
name: Install dependencies
command: |
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker python3-termcolor
gem install package_cloud
- checkout
- run:
name: Create the .rpm package
command: |
./install/linux/build_rpm.py
dnf install -y dist/dangerzone-*-1.noarch.rpm
- run:
name: Deploy to packagecloud.io
command: |
VERSION=$(cat dangerzone/__init__.py |grep "dangerzone_version = " |cut -d '"' -f2)
package_cloud push firstlookmedia/code/fedora/32 dist/dangerzone-${VERSION}-1.noarch.rpm
package_cloud push firstlookmedia/code/fedora/32 dist/dangerzone-${VERSION}-1.src.rpm
workflows:
version: 2
build-tags:
@ -188,6 +235,12 @@ workflows:
only: /^v.*/
branches:
ignore: /.*/
- build-ubuntu-groovy:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- build-debian-buster:
filters:
tags:
@ -212,3 +265,9 @@ workflows:
only: /^v.*/
branches:
ignore: /.*/
- build-fedora-32:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/

View file

@ -1,5 +1,10 @@
# Change Log
## dangerzone 0.1.4
- Suppress confusing stderr output, and fix bug when converting specific documents
- Add support for Ubuntu 20.10, Fedora 32
## dangerzone 0.1.3
- Add support for Ubuntu 20.04 LTS (#79)

View file

@ -10,8 +10,8 @@ _Read more about dangerzone in the blog post [Dangerzone: Working With Suspiciou
## Getting started
- Download [dangerzone 0.1.3 for Mac](https://github.com/firstlookmedia/dangerzone/releases/download/v0.1.3/Dangerzone.0.1.3.dmg)
- Download [dangerzone 0.1.3 for Windows](https://github.com/firstlookmedia/dangerzone/releases/download/v0.1.3/Dangerzone.0.1.3.msi)
- Download [dangerzone 0.1.4 for Mac](https://github.com/firstlookmedia/dangerzone/releases/download/v0.1.4/Dangerzone.0.1.4.dmg)
- Download [dangerzone 0.1.4 for Windows](https://github.com/firstlookmedia/dangerzone/releases/download/v0.1.4/Dangerzone.0.1.4.msi)
- See [installing dangerzone](https://github.com/firstlookmedia/dangerzone/wiki/Installing-Dangerzone) on the wiki for Linux repositories
You can also install dangerzone for Mac using [Homebrew](https://brew.sh/): `brew cask install dangerzone`

View file

@ -2,7 +2,7 @@ import os
import sys
from .container import container_main
dangerzone_version = "0.1.3"
dangerzone_version = "0.1.4"
# This is a hack for Windows and Mac to be able to run dangerzone-container, even though
# PyInstaller builds a single binary

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='windows-1252'?>
<?define ProductVersion = "0.1.2"?>
<?define ProductVersion = "0.1.4"?>
<?define ProductUpgradeCode = "12b9695c-965b-4be0-bc33-21274e809576"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name="Dangerzone" Manufacturer="First Look Media" Id="f40ff0a9-ebf8-4e1e-9bce-6ab5c74fe119" UpgradeCode="$(var.ProductUpgradeCode)" Language="1033" Codepage="1252" Version="$(var.ProductVersion)">

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "dangerzone"
version = "0.1.3"
version = "0.1.4"
description = "Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF"
authors = ["Micah Lee <micah.lee@theintercept.com>"]
license = "MIT"