Skip to content

Commit e8e6879

Browse files
author
Megabyte Labs
committed
☁️ chore(automation): Applying changes from upstream repository.
1 parent c5d8db2 commit e8e6879

File tree

5 files changed

+350
-117
lines changed

5 files changed

+350
-117
lines changed

.config/taskfiles/fix/Taskfile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ tasks:
2525
- :install:npm:eslint
2626
- :install:software:unbuffer
2727
desc: Fix ESLint errors automatically
28-
vars:
29-
ESLINT_LOG:
30-
sh: mktemp
3128
summary: |
3229
# Fix Errors with ESLint Automatically
3330
@@ -40,6 +37,9 @@ tasks:
4037
4138
**Example fixing all files in a project:**
4239
`task fix:js`
40+
vars:
41+
ESLINT_LOG:
42+
sh: mktemp
4343
log:
4444
error: ESLint found some issues that need to be fixed manually
4545
start: Auto-fixing with ESLint

.config/taskfiles/install/Taskfile-software.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,15 @@ tasks:
597597
status:
598598
- type git > /dev/null
599599

600+
git-issue:admin:
601+
run: once
602+
cmds:
603+
- git clone https://github.com/dspinellis/git-issue.git .git-issue
604+
- |
605+
cd .git-issue
606+
sudo make install
607+
- rm -rf .git-issue
608+
600609
gitlab-runner:
601610
run: once
602611
cmds:
@@ -611,15 +620,6 @@ tasks:
611620
vars:
612621
PACKAGE: gitleaks
613622

614-
git-issue:admin:
615-
run: once
616-
cmds:
617-
- git clone https://github.com/dspinellis/git-issue.git .git-issue
618-
- |
619-
cd .git-issue
620-
sudo make install
621-
- rm -rf .git-issue
622-
623623
glab:
624624
run: once
625625
cmds:

.config/taskfiles/release/Taskfile.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,12 @@ tasks:
489489
success:
490490
deps:
491491
- :install:software:jq
492+
summary: |
493+
| Command property | Description |
494+
|------------------|---------------------------------------------------------------------------------------------------------------------|
495+
| `exit code` | Any non `0` code is considered as an unexpected error and will stop the `semantic-release` execution with an error. |
496+
| `stdout` | Can be used for logging. |
497+
| `stderr` | Can be used for logging. |
492498
env:
493499
PACKAGE_JSON:
494500
sh: jq -r '.' package.json
@@ -498,12 +504,6 @@ tasks:
498504
sh: mktemp
499505
VARIABLES_JSON:
500506
sh: jq -r '.' .variables.json
501-
summary: |
502-
| Command property | Description |
503-
|------------------|---------------------------------------------------------------------------------------------------------------------|
504-
| `exit code` | Any non `0` code is considered as an unexpected error and will stop the `semantic-release` execution with an error. |
505-
| `stdout` | Can be used for logging. |
506-
| `stderr` | Can be used for logging. |
507507
cmds:
508508
- jq -n --arg pkg "$PACKAGE_JSON" --arg release "$RELEASE_JSON" --arg vars "$VARIABLES_JSON"
509509
'.["package.json"] = $pkg | .[".release.json"] = $release | .[".variables.json"] = $vars' > "$TMP"

0 commit comments

Comments
 (0)