Skip to content

Commit f482b95

Browse files
Version Packages (#13)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 118f5d4 commit f482b95

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

.changeset/fix-extends-resolution.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @noxify/gitlab-ci-builder
22

3+
## 1.1.1
4+
5+
### Patch Changes
6+
7+
- 118f5d4: Fixed extends resolution behavior with `resolveTemplatesOnly: true`
8+
9+
Previously, when `resolveTemplatesOnly: true` was set (the default), ALL extends were removed after merging, including normal jobs and remote references that should have been preserved.
10+
11+
**Old behavior (incorrect):**
12+
- Templates (`.prefix`) were merged ✅
13+
- Normal jobs (without `.`) were merged ❌ (should stay in extends)
14+
- Remote jobs were merged ❌ (should stay in extends)
15+
- Unknown/external jobs were merged ❌ (should stay in extends)
16+
17+
**New behavior (correct):**
18+
- Templates (`.prefix`) are merged ✅
19+
- Normal jobs (without `.`) remain in extends ✅
20+
- Remote jobs remain in extends ✅
21+
- Unknown/external jobs remain in extends ✅
22+
23+
This fix enables proper GitLab CI template composition patterns, particularly for shallow jobs that use `remote: true` to reference jobs from other configurations without merging them.
24+
325
## 1.1.0
426

527
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@noxify/gitlab-ci-builder",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Create GitLab CI pipelines with TypeScript.",
55
"keywords": [
66
"gitlab",

0 commit comments

Comments
 (0)