@stacksjs/buddy 0.61.1 → 0.61.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1770,7 +1770,7 @@ function projects(buddy) {
|
|
|
1770
1770
|
// src/commands/release.ts
|
|
1771
1771
|
import process24 from "process";
|
|
1772
1772
|
import {runAction as runAction13} from "@stacksjs/actions";
|
|
1773
|
-
import {intro as intro16, log as log24, outro as outro15} from "@stacksjs/cli";
|
|
1773
|
+
import {intro as intro16, italic as italic6, log as log24, outro as outro15} from "@stacksjs/cli";
|
|
1774
1774
|
import {Action as Action13} from "@stacksjs/enums";
|
|
1775
1775
|
import {ExitCode as ExitCode17} from "@stacksjs/types";
|
|
1776
1776
|
function release(buddy) {
|
|
@@ -1787,10 +1787,12 @@ function release(buddy) {
|
|
|
1787
1787
|
log24.error("Failed to release", result.error);
|
|
1788
1788
|
process24.exit(ExitCode17.FatalError);
|
|
1789
1789
|
}
|
|
1790
|
-
await outro15("Triggered CI/CD Release
|
|
1790
|
+
await outro15("Triggered CI/CD Release via GitHub Actions", {
|
|
1791
1791
|
startTime,
|
|
1792
1792
|
useSeconds: true
|
|
1793
1793
|
});
|
|
1794
|
+
console.log("");
|
|
1795
|
+
console.log(italic6("Follow along: https://github.com/stacksjs/stacks/actions"));
|
|
1794
1796
|
});
|
|
1795
1797
|
buddy.on("release:*", () => {
|
|
1796
1798
|
console.error("Invalid command: %s\nSee --help for a list of available commands.", buddy.args.join(" "));
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/stacks
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/commands/release.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from 'node:process'
|
|
2
2
|
import { runAction } from '@stacksjs/actions'
|
|
3
|
-
import { intro, log, outro } from '@stacksjs/cli'
|
|
3
|
+
import { intro, italic, log, outro } from '@stacksjs/cli'
|
|
4
4
|
import { Action } from '@stacksjs/enums'
|
|
5
5
|
import { ExitCode } from '@stacksjs/types'
|
|
6
6
|
import type { CLI, ReleaseOptions } from '@stacksjs/types'
|
|
@@ -34,10 +34,13 @@ export function release(buddy: CLI) {
|
|
|
34
34
|
process.exit(ExitCode.FatalError)
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
await outro('Triggered CI/CD Release
|
|
37
|
+
await outro('Triggered CI/CD Release via GitHub Actions', {
|
|
38
38
|
startTime,
|
|
39
39
|
useSeconds: true,
|
|
40
40
|
})
|
|
41
|
+
|
|
42
|
+
console.log('')
|
|
43
|
+
console.log(italic('Follow along: https://github.com/stacksjs/stacks/actions'))
|
|
41
44
|
})
|
|
42
45
|
|
|
43
46
|
buddy.on('release:*', () => {
|