Compare commits

...
6 Commits
Author SHA1 Message Date
Carlos Alexandro Becker 5fdedb94ab revert: node20 change
refs https://github.com/goreleaser/goreleaser-action/pull/430

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-05 12:39:29 +00:00
K.B.Dharun KrishnaandGitHub 81d9ad7185 feat: bump to use node20 runtime, actions/checkout to v4 (#430) 2023-09-05 09:10:35 -03:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a10d0e32dc chore(deps): bump word-wrap from 1.2.3 to 1.2.5 (#427)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 14:07:10 -03:00
Carlos Alexandro Becker 3fa32b8bb5 feat(deps): update semver, @actions/http-client
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-09 17:00:48 +00:00
Carlos Alexandro BeckerandGitHub c7c9447c79 feat: support oss nightlies (#424)
* feat: support oss nightlies

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: test

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-09 13:57:58 -03:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
920a7cbd0a chore(deps): bump semver from 7.5.0 to 7.5.1 (#417)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.0...v7.5.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 15:23:06 -03:00
10 changed files with 44 additions and 26 deletions
+8 -7
View File
@@ -35,7 +35,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -76,7 +76,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -111,7 +111,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -150,7 +150,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -182,7 +182,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -212,10 +212,11 @@ jobs:
- windows-latest
distribution:
- goreleaser-pro
- goreleaser
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@@ -235,5 +236,5 @@ jobs:
run: |
goreleaser check -f ./test/.goreleaser.yml
goreleaser --version
goreleaser --version | grep pro-nightly
goreleaser --version | grep nightly
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Targets matrix
id: targets
@@ -37,7 +37,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Validate
uses: docker/bake-action@v3
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
+6
View File
@@ -32,6 +32,12 @@ describe('getRelease', () => {
expect(release?.tag_name).not.toEqual('');
});
it('returns nightly GoReleaser GitHub release', async () => {
const release = await github.getRelease('goreleaser', 'nightly');
expect(release).not.toBeNull();
expect(release?.tag_name).not.toEqual('');
});
it('returns nightly GoReleaser Pro GitHub release', async () => {
const release = await github.getRelease('goreleaser-pro', 'nightly');
expect(release).not.toBeNull();
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -23,10 +23,10 @@
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/http-client": "^2.1.0",
"@actions/http-client": "^2.1.1",
"@actions/tool-cache": "^2.0.1",
"js-yaml": "^4.1.0",
"semver": "^7.5.0",
"semver": "^7.5.4",
"yargs": "^17.7.2"
},
"devDependencies": {
+1 -1
View File
@@ -15,7 +15,7 @@ export const getRelease = async (distribution: string, version: string): Promise
};
export const getReleaseTag = async (distribution: string, version: string): Promise<GitHubRelease> => {
if (distribution === 'goreleaser-pro' && version === 'nightly') {
if (version === 'nightly') {
return {tag_name: version};
}
const tag: string = (await resolveVersion(distribution, version)) || version;
+21 -10
View File
@@ -33,12 +33,12 @@ __metadata:
languageName: node
linkType: hard
"@actions/http-client@npm:^2.1.0":
version: 2.1.0
resolution: "@actions/http-client@npm:2.1.0"
"@actions/http-client@npm:^2.1.1":
version: 2.1.1
resolution: "@actions/http-client@npm:2.1.1"
dependencies:
tunnel: ^0.0.6
checksum: 25a72a952cc95fb4b3ab086da73a5754dd0957c206637cace69be2e16f018cc1b3d3c40d3bcf89ffd8a5929d5e8445594b498b50db306a50ad7536023f8e3800
checksum: 5a3fd0407020a11cd3864b6c9ed8ef36912e08418df34fac675d15fc71543abb419db236ddb8fbd649f8ad8b5057bd78f1ac301f87283dfc706aa85578a90658
languageName: node
linkType: hard
@@ -2899,7 +2899,7 @@ __metadata:
dependencies:
"@actions/core": ^1.10.0
"@actions/exec": ^1.1.1
"@actions/http-client": ^2.1.0
"@actions/http-client": ^2.1.1
"@actions/tool-cache": ^2.0.1
"@types/node": ^16.18.26
"@typescript-eslint/eslint-plugin": ^5.59.2
@@ -2913,7 +2913,7 @@ __metadata:
jest: ^29.5.0
js-yaml: ^4.1.0
prettier: ^2.8.8
semver: ^7.5.0
semver: ^7.5.4
tmp: ^0.2.1
ts-jest: ^29.1.0
ts-node: ^10.9.1
@@ -4569,7 +4569,7 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.3.7, semver@npm:^7.5.0":
"semver@npm:^7.3.7":
version: 7.5.0
resolution: "semver@npm:7.5.0"
dependencies:
@@ -4580,6 +4580,17 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.5.4":
version: 7.5.4
resolution: "semver@npm:7.5.4"
dependencies:
lru-cache: ^6.0.0
bin:
semver: bin/semver.js
checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3
languageName: node
linkType: hard
"set-blocking@npm:^2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
@@ -5128,9 +5139,9 @@ __metadata:
linkType: hard
"word-wrap@npm:^1.2.3":
version: 1.2.3
resolution: "word-wrap@npm:1.2.3"
checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f
version: 1.2.5
resolution: "word-wrap@npm:1.2.5"
checksum: f93ba3586fc181f94afdaff3a6fef27920b4b6d9eaefed0f428f8e07adea2a7f54a5f2830ce59406c8416f033f86902b91eb824072354645eea687dff3691ccb
languageName: node
linkType: hard