@automagik/genie 3.260322.2 → 3.260323.2
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.
|
@@ -4,14 +4,13 @@ on:
|
|
|
4
4
|
workflow_run:
|
|
5
5
|
workflows: ["CI"]
|
|
6
6
|
types: [completed]
|
|
7
|
-
branches: [main]
|
|
7
|
+
branches: [main, dev]
|
|
8
8
|
workflow_dispatch:
|
|
9
9
|
|
|
10
10
|
permissions:
|
|
11
11
|
contents: write
|
|
12
12
|
|
|
13
13
|
concurrency:
|
|
14
|
-
# This workflow always writes to `dev`, regardless of the trigger ref.
|
|
15
14
|
group: version-dev
|
|
16
15
|
cancel-in-progress: false
|
|
17
16
|
|
|
@@ -24,10 +23,14 @@ jobs:
|
|
|
24
23
|
(github.event_name == 'workflow_dispatch') ||
|
|
25
24
|
(github.event.workflow_run.conclusion == 'success' &&
|
|
26
25
|
github.event.workflow_run.event == 'push' &&
|
|
27
|
-
github.event.workflow_run.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
!contains(github.event.workflow_run.head_commit.message, '[skip ci]') &&
|
|
27
|
+
(
|
|
28
|
+
(github.event.workflow_run.head_branch == 'main' &&
|
|
29
|
+
startsWith(github.event.workflow_run.head_commit.message, 'Merge pull request') &&
|
|
30
|
+
contains(github.event.workflow_run.head_commit.message, '/dev'))
|
|
31
|
+
||
|
|
32
|
+
(github.event.workflow_run.head_branch == 'dev')
|
|
33
|
+
))
|
|
31
34
|
|
|
32
35
|
steps:
|
|
33
36
|
- uses: actions/checkout@v4
|
|
@@ -52,9 +55,9 @@ jobs:
|
|
|
52
55
|
id: version
|
|
53
56
|
run: |
|
|
54
57
|
TODAY=$(date -u +%y%m%d)
|
|
55
|
-
EXISTING=$(git tag --list "
|
|
58
|
+
EXISTING=$(git tag --list "v4.${TODAY}.*" | wc -l)
|
|
56
59
|
BUILD_NUMBER=$((EXISTING + 1))
|
|
57
|
-
VERSION="
|
|
60
|
+
VERSION="4.${TODAY}.${BUILD_NUMBER}"
|
|
58
61
|
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
59
62
|
echo "build_number=${BUILD_NUMBER}" >> "$GITHUB_OUTPUT"
|
|
60
63
|
echo "Derived version: ${VERSION}"
|
package/package.json
CHANGED
package/git-cliff/CHANGELOG.md
DELETED