From 895ca7ee872a0d1ae44985d6e12d6615d1506bce Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Sun, 26 Feb 2023 19:41:33 -0800 Subject: [PATCH] v1.1.0 --- Makefile | 2 +- debian/README.md | 11 +++++++++-- debian/changelog | 6 ++++++ main.go | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 019d8fd..b12b8f1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 1.0.8 +VERSION = 1.1.0 LDFLAGS = -ldflags '-s -w' -gcflags=-trimpath=${PWD} -asmflags=-trimpath=${PWD} linux_amd64: export GOOS=linux diff --git a/debian/README.md b/debian/README.md index c0de2e9..7bb9c8e 100644 --- a/debian/README.md +++ b/debian/README.md @@ -1,8 +1,15 @@ ``` -sudo apt install debhelper dh-golang golang golang-any golang-github-aws-aws-sdk-go-dev +sudo apt install devscripts debhelper dh-golang golang golang-any golang-github-aws-aws-sdk-go-dev # in the repository root: git clean -fdX -tar cvJf ../aws-rotate-key_1.0.8.orig.tar.xz --exclude=debian * +tar cvJf ../aws-rotate-key_1.1.0.orig.tar.xz --exclude=debian * + +# build deb file: debuild -i -us -uc -b + +# publish to ppa: +debuild -S +cd .. +dput ppa:stefansundin/aws-rotate-key aws-rotate-key_1.1.0-1_source.changes ``` diff --git a/debian/changelog b/debian/changelog index 0055ab7..0c0f26e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +aws-rotate-key (1.1.0-1) jammy; urgency=medium + + * Add support for multiple MFA devices. + + -- Stefan Sundin Sun, 26 Feb 2023 19:29:59 -0800 + aws-rotate-key (1.0.8-4) bionic; urgency=medium * Build on bionic. diff --git a/main.go b/main.go index 37b96fe..25ab526 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ import ( "github.com/aws/aws-sdk-go/service/sts" ) -const version = "1.0.8" +const version = "1.1.0" func main() { var yesFlag bool