diff --git a/README.md b/README.md index a482d80..1aea848 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ with rotation in OpsGenie. The rotation settings are: - `MacOS` ```bash -wget https://github.com/y0rune/opsgenie-scheduler-creator/blob/main/release/opsgenie-scheduler-creator-darwin-amd64 -O opsgenie-scheduler-creator +wget https://github.com/y0rune/opsgenie-scheduler-creator/releases/latest/download/opsgenie-scheduler-creator-darwin-amd64 -O opsgenie-scheduler-creator chmod +x opsgenie-scheduler-creator ./opsgenie-scheduler-creator ``` @@ -19,7 +19,7 @@ chmod +x opsgenie-scheduler-creator - `amd64` ```bash -wget https://github.com/y0rune/opsgenie-scheduler-creator/blob/main/release/opsgenie-scheduler-creator-darwin-amd64 -O opsgenie-scheduler-creator +wget https://github.com/y0rune/opsgenie-scheduler-creator/releases/latest/download/opsgenie-scheduler-creator-linux-amd64 -O opsgenie-scheduler-creator chmod +x opsgenie-scheduler-creator ./opsgenie-scheduler-creator ``` @@ -27,7 +27,7 @@ chmod +x opsgenie-scheduler-creator - `arm64` ```bash -wget https://github.com/y0rune/opsgenie-scheduler-creator/blob/main/release/opsgenie-scheduler-creator-darwin-arm -O opsgenie-scheduler-creator +wget https://github.com/y0rune/opsgenie-scheduler-creator/releases/latest/download/opsgenie-scheduler-creator-linux-arm64 -O opsgenie-scheduler-creator chmod +x opsgenie-scheduler-creator ./opsgenie-scheduler-creator ``` @@ -35,7 +35,7 @@ chmod +x opsgenie-scheduler-creator - `arm` ```bash -wget https://github.com/y0rune/opsgenie-scheduler-creator/blob/main/release/opsgenie-scheduler-creator-darwin-amd64 -O opsgenie-scheduler-creator +wget https://github.com/y0rune/opsgenie-scheduler-creator/releases/latest/download/opsgenie-scheduler-creator-linux-arm -O opsgenie-scheduler-creator chmod +x opsgenie-scheduler-creator ./opsgenie-scheduler-creator ``` diff --git a/go.mod b/go.mod index d407ed2..151a626 100644 --- a/go.mod +++ b/go.mod @@ -2,12 +2,14 @@ module opsgenie-scheduler-creator go 1.19 -require github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.13 +require ( + github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.14 + github.com/sirupsen/logrus v1.9.0 +) require ( github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.1 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/sirupsen/logrus v1.9.0 // indirect - golang.org/x/sys v0.1.0 // indirect + golang.org/x/sys v0.2.0 // indirect ) diff --git a/go.sum b/go.sum index a57650f..9d69387 100644 --- a/go.sum +++ b/go.sum @@ -1,18 +1,22 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/hashicorp/go-cleanhttp v0.5.0 h1:wvCrVc9TjDls6+YGAF2hAifE1E5U1+b4tH6KdvN3Gig= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v0.9.2 h1:CG6TE5H9/JXsFWJCfoIVpKFIkFe6ysEuHirp4DxCsHI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= +github.com/hashicorp/go-retryablehttp v0.5.1 h1:Vsx5XKPqPs3M6sM4U4GWyUqFS8aBiL9U5gkgvpkg4SE= github.com/hashicorp/go-retryablehttp v0.5.1/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.13 h1:nV98dkBpqaYbDnhefmOQ+Rn4hE+jD6AtjYHXaU5WyJI= github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.13/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s= +github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.14 h1:ni+M5q9QIZQq5xQiYzbttDZpPQogPWx8MdHpvZtWcTE= +github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.14/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -30,9 +34,12 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/release/opsgenie-scheduler-creator-darwin-amd64 b/release/opsgenie-scheduler-creator-darwin-amd64 deleted file mode 100755 index d012e4e..0000000 Binary files a/release/opsgenie-scheduler-creator-darwin-amd64 and /dev/null differ diff --git a/release/opsgenie-scheduler-creator-linux-amd64 b/release/opsgenie-scheduler-creator-linux-amd64 deleted file mode 100755 index 348ca59..0000000 Binary files a/release/opsgenie-scheduler-creator-linux-amd64 and /dev/null differ diff --git a/release/opsgenie-scheduler-creator-linux-arm b/release/opsgenie-scheduler-creator-linux-arm deleted file mode 100755 index 8b42b21..0000000 Binary files a/release/opsgenie-scheduler-creator-linux-arm and /dev/null differ diff --git a/release/opsgenie-scheduler-creator-linux-arm64 b/release/opsgenie-scheduler-creator-linux-arm64 deleted file mode 100755 index 06a4810..0000000 Binary files a/release/opsgenie-scheduler-creator-linux-arm64 and /dev/null differ