Compare commits

..
4 Commits
Author SHA1 Message Date
CrazyMax 8708f57399 Fix workdir (#224) 2020-06-24 02:24:58 +02:00
CrazyMax 044b9d4d64 Update deps 2020-06-24 02:24:36 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0d32e80d56 chore(deps): bump actions/checkout from v2.3.0 to v2.3.1 (#222)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.0 to v2.3.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.0...28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-21 04:45:33 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eed3dc901e chore(deps): bump actions/checkout from v2 to v2.3.0 (#221)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2 to v2.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...b4483adec309c0d01a5435c5e24eb40de5773ad9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-17 07:55:50 +00:00
8 changed files with 459 additions and 446 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
-
@@ -61,7 +61,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
-
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.1
-
name: Install
run: yarn install
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
-
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 2.1.1 (2020/06/24)
* Fix workdir (#224)
## 2.1.0 (2020/06/15)
* Implement (optional) semver parsing of version (#213)
Generated Vendored
+3 -3
View File
@@ -1419,13 +1419,13 @@ function run() {
const args = core.getInput('args', { required: true });
const workdir = core.getInput('workdir') || '.';
const goreleaser = yield installer.getGoReleaser(version);
const commit = yield git.getShortCommit();
const tag = yield git.getTag();
const isTagDirty = yield git.isTagDirty(tag);
if (workdir && workdir !== '.') {
core.info(`📂 Using ${workdir} as working directory...`);
process.chdir(workdir);
}
const commit = yield git.getShortCommit();
const tag = yield git.getTag();
const isTagDirty = yield git.isTagDirty(tag);
let snapshot = '';
if (args.split(' ').indexOf('release') > -1) {
if (isTagDirty) {
+4 -4
View File
@@ -31,12 +31,12 @@
"@types/node": "^14.0.13",
"@zeit/ncc": "^0.22.3",
"dotenv": "^8.2.0",
"jest": "^26.0.1",
"jest-circus": "^26.0.1",
"jest-runtime": "^26.0.1",
"jest": "^26.1.0",
"jest-circus": "^26.1.0",
"jest-runtime": "^26.1.0",
"prettier": "^2.0.5",
"tmp": "^0.2.1",
"ts-jest": "^26.1.0",
"ts-jest": "^26.1.1",
"typescript": "^3.9.5",
"typescript-formatter": "^7.2.2"
}
+4 -4
View File
@@ -10,15 +10,15 @@ async function run(): Promise<void> {
const workdir = core.getInput('workdir') || '.';
const goreleaser = await installer.getGoReleaser(version);
const commit = await git.getShortCommit();
const tag = await git.getTag();
const isTagDirty = await git.isTagDirty(tag);
if (workdir && workdir !== '.') {
core.info(`📂 Using ${workdir} as working directory...`);
process.chdir(workdir);
}
const commit = await git.getShortCommit();
const tag = await git.getTag();
const isTagDirty = await git.isTagDirty(tag);
let snapshot = '';
if (args.split(' ').indexOf('release') > -1) {
if (isTagDirty) {
+440 -431
View File
File diff suppressed because it is too large Load Diff