Skip to content

Commit 3515db3

Browse files
committed
update versions + add publish scripts
1 parent 7dac56c commit 3515db3

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14, 16, 18, 20]
15+
node-version: [24]
1616

1717
steps:
1818
- name: Checkout code

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '18'
22+
node-version: 24
2323
registry-url: 'https://registry.npmjs.org'
2424

2525
- name: Install dependencies

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "create-net",
3-
"version": "1.0.0",
3+
"version": "0.0.1",
44
"description": "Create .NET and other projects from NetCoreTemplates GitHub repositories",
55
"bin": {
66
"create-net": "./bin/create-net.js"
77
},
88
"scripts": {
9-
"test": "./test.sh"
9+
"test": "./test.sh",
10+
"bump": "npm version patch && git push origin main --follow-tags",
11+
"bump:minor": "npm version minor && git push origin main --follow-tags",
12+
"bump:major": "npm version major && git push origin main --follow-tags",
13+
"release": "gh release create v$(node -p \"require('./package.json').version\") --title v$(node -p \"require('./package.json').version\") --generate-notes"
1014
},
1115
"keywords": [
1216
"create",

0 commit comments

Comments
 (0)