Skip to content

Commit 67db618

Browse files
committed
v1.0.4
1 parent a295278 commit 67db618

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Stable Release to npm
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
# No -alpha. or -beta. in tags
9+
if: ${{ !contains(github.event.release.tag_name, '-') }}
10+
permissions:
11+
contents: read
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
# Setup .npmrc file to publish to npm
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: "20"
19+
registry-url: 'https://registry.npmjs.org'
20+
- run: npm install
21+
- run: npm test
22+
- run: npm publish --provenance --access=public
23+
env:
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@11ty/create",
3-
"version": "1.0.4-beta.1",
3+
"version": "1.0.4",
44
"description": "A little command line utility to create files in a cross-platform way.",
55
"main": "create.js",
66
"type": "module",

0 commit comments

Comments
 (0)