Skip to content

Commit d0d2777

Browse files
authored
feat(shell): prepare release test with improved shell setup metadata (#24)
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
1 parent b6bb18f commit d0d2777

24 files changed

+39
-686
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'src/**'
9+
- '.github/workflows/**'
10+
release:
11+
types:
12+
- published
13+
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
18+
jobs:
19+
release:
20+
name: Release Please (Generate Releases and Changelogs)
21+
runs-on: ubuntu-latest
22+
if: github.event_name == 'push'
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Run Release Please
28+
uses: googleapis/release-please-action@v4
29+
with:
30+
config-file: .release-please-config.json
31+
manifest-file: .release-please-manifest.json
32+
token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"packages": {
3-
"features/shell": {
3+
"src/shell": {
44
"release-type": "simple",
5-
"package-name": "feature-shell",
6-
"create-release": true,
5+
"package-name": "devcontainer-feature-shell",
76
"extra-files": [
87
{
98
"type": "json",
10-
"path": "features/shell/feature.json",
9+
"path": "src/shell/devcontainer-feature.json",
1110
"jsonpath": "$.version"
1211
}
1312
]
1413
}
1514
}
16-
}
15+
}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"src/shell": "0.0.0"
3+
}

legacy/.github/branch-protection-rules.md

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

legacy/.github/scripts/test-features.sh

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

legacy/.github/workflows/devcontainer-features.yml

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

legacy/.github/workflows/test-features.yml

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

legacy/.release-please-manifest.json

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

legacy/LICENSE

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

legacy/README.md

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

0 commit comments

Comments
 (0)