Adding debian version 1.2.3-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e7ed09875d
commit
a4f2a5c3c2
9 changed files with 127 additions and 0 deletions
39
debian/patches/debian/0001-go-mod.patch
vendored
Normal file
39
debian/patches/debian/0001-go-mod.patch
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Description: Building with golang-github-google-go-github 60.
|
||||
|
||||
diff -Naurp golang-github-rhysd-go-github-selfupdate.orig/selfupdate/detect.go golang-github-rhysd-go-github-selfupdate/selfupdate/detect.go
|
||||
--- golang-github-rhysd-go-github-selfupdate.orig/selfupdate/detect.go
|
||||
+++ golang-github-rhysd-go-github-selfupdate/selfupdate/detect.go
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/blang/semver"
|
||||
- "github.com/google/go-github/v30/github"
|
||||
+ "github.com/google/go-github/v60/github"
|
||||
)
|
||||
|
||||
var reVersion = regexp.MustCompile(`\d+\.\d+\.\d+`)
|
||||
diff -Naurp golang-github-rhysd-go-github-selfupdate.orig/selfupdate/detect_test.go golang-github-rhysd-go-github-selfupdate/selfupdate/detect_test.go
|
||||
--- golang-github-rhysd-go-github-selfupdate.orig/selfupdate/detect_test.go
|
||||
+++ golang-github-rhysd-go-github-selfupdate/selfupdate/detect_test.go
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/blang/semver"
|
||||
- "github.com/google/go-github/v30/github"
|
||||
+ "github.com/google/go-github/v60/github"
|
||||
)
|
||||
|
||||
func TestDetectReleaseWithVersionPrefix(t *testing.T) {
|
||||
diff -Naurp golang-github-rhysd-go-github-selfupdate.orig/selfupdate/updater.go golang-github-rhysd-go-github-selfupdate/selfupdate/updater.go
|
||||
--- golang-github-rhysd-go-github-selfupdate.orig/selfupdate/updater.go
|
||||
+++ golang-github-rhysd-go-github-selfupdate/selfupdate/updater.go
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
"regexp"
|
||||
|
||||
- "github.com/google/go-github/v30/github"
|
||||
+ "github.com/google/go-github/v60/github"
|
||||
gitconfig "github.com/tcnksm/go-gitconfig"
|
||||
"golang.org/x/oauth2"
|
||||
)
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/0001-go-mod.patch
|
Loading…
Add table
Add a link
Reference in a new issue