Skip to content

Commit 5e96757

Browse files
authored
Merge pull request #422 from jgilbert01/issue-cut-release-tags
Cut a release tag on publish
2 parents a8b1b81 + 8e3c54a commit 5e96757

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/cd.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,16 @@ jobs:
1919
- run: npm publish
2020
env:
2121
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
22+
- uses: sergeysova/jq-action@v2
23+
name: Derive Version
24+
id: version
25+
with:
26+
cmd: 'jq .version package.json -r'
27+
- uses: elgohr/Github-Release-Action@v5
28+
name: Create Tag
29+
env:
30+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
with:
32+
title: Release ${{ steps.version.outputs.value }}
33+
tag: ${{ steps.version.outputs.value }}
2234

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-lambda-stream",
3-
"version": "1.1.9",
3+
"version": "1.1.10",
44
"description": "Create stream processors with AWS Lambda functions.",
55
"keywords": [
66
"aws",

0 commit comments

Comments
 (0)