diff -Nru go-md2man-v2-2.0.1+ds1/debian/changelog go-md2man-v2-2.0.2+ds1/debian/changelog --- go-md2man-v2-2.0.1+ds1/debian/changelog 2021-12-30 02:55:48.000000000 +0000 +++ go-md2man-v2-2.0.2+ds1/debian/changelog 2022-06-05 13:39:19.000000000 +0000 @@ -1,3 +1,11 @@ +go-md2man-v2 (2.0.2+ds1-1) unstable; urgency=medium + + * New upstream version 2.0.2+ds1 + * Replace Built-Using with Static-Built-Using in debian/control + * Bump Standards-Version to 4.6.1 (no change) + + -- Anthony Fok Sun, 05 Jun 2022 07:39:19 -0600 + go-md2man-v2 (2.0.1+ds1-1) unstable; urgency=medium * New upstream version 2.0.1+ds1 diff -Nru go-md2man-v2-2.0.1+ds1/debian/control go-md2man-v2-2.0.2+ds1/debian/control --- go-md2man-v2-2.0.1+ds1/debian/control 2021-12-30 02:52:36.000000000 +0000 +++ go-md2man-v2-2.0.2+ds1/debian/control 2022-06-05 13:38:25.000000000 +0000 @@ -10,7 +10,7 @@ golang-any, golang-github-russross-blackfriday-v2-dev (>= 2.1.0) Testsuite: autopkgtest-pkg-go -Standards-Version: 4.6.0 +Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/go-team/packages/go-md2man-v2 Vcs-Git: https://salsa.debian.org/go-team/packages/go-md2man-v2.git Homepage: https://github.com/cpuguy83/go-md2man @@ -23,7 +23,7 @@ Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: go-md2man-v2 -Built-Using: ${misc:Built-Using} +Static-Built-Using: ${misc:Static-Built-Using} Description: utility to create manpages from markdown Turns Markdown into manpages, which is really handy for people that don't want to learn how to make manpages from stuff like DocBook. diff -Nru go-md2man-v2-2.0.1+ds1/Dockerfile go-md2man-v2-2.0.2+ds1/Dockerfile --- go-md2man-v2-2.0.1+ds1/Dockerfile 2021-07-16 23:20:56.000000000 +0000 +++ go-md2man-v2-2.0.2+ds1/Dockerfile 2022-04-22 22:25:44.000000000 +0000 @@ -1,7 +1,19 @@ -FROM golang:1.8 AS build +ARG GO_VERSION=1.18 +ARG GO_IMAGE=golang:${GO_VERSION} + +FROM --platform=$BUILDPLATFORM $GO_IMAGE AS build COPY . /go/src/github.com/cpuguy83/go-md2man WORKDIR /go/src/github.com/cpuguy83/go-md2man -RUN CGO_ENABLED=0 go build +ARG TARGETOS +ARG TARGETARCH +ARG TARGETVARIANT +RUN \ + export GOOS="${TARGETOS}"; \ + export GOARCH="${TARGETARCH}"; \ + if [ "${TARGETARCH}" = "arm" ] && [ "${TARGETVARIANT}" ]; then \ + export GOARM="${TARGETVARIANT#v}"; \ + fi; \ + CGO_ENABLED=0 go build FROM scratch COPY --from=build /go/src/github.com/cpuguy83/go-md2man/go-md2man /go-md2man diff -Nru go-md2man-v2-2.0.1+ds1/.github/workflows/test.yml go-md2man-v2-2.0.2+ds1/.github/workflows/test.yml --- go-md2man-v2-2.0.1+ds1/.github/workflows/test.yml 2021-07-16 23:20:56.000000000 +0000 +++ go-md2man-v2-2.0.2+ds1/.github/workflows/test.yml 2022-04-22 22:25:44.000000000 +0000 @@ -2,39 +2,38 @@ on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: - test: name: Build strategy: matrix: - go-version: [1.13.x, 1.15.x, 1.16.x] + go-version: [1.13.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x] platform: [ubuntu-20.04] runs-on: ${{ matrix.platform }} steps: - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} + - name: Install Go + uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go-version }} - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + - name: Check out code into the Go module directory + uses: actions/checkout@v3 - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./... lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: golangci/golangci-lint-action@v2 + - uses: actions/checkout@v3 + - uses: golangci/golangci-lint-action@v3.1.0 with: # must be specified without patch version version: v1.41