Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

permissions:
id-token: write
contents: read
contents: write

jobs:
build-library:
Expand Down Expand Up @@ -169,6 +169,11 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Node & NPM versions
run: |
node --version
npm --version

- name: Get package version
id: package_version
run: echo "VERSION=$(jq -r .version packages/library/package.json)" >> $GITHUB_ENV
Expand All @@ -190,4 +195,4 @@ jobs:

- name: Publish to NPM
if: env.VERSION_EXISTS == 'false'
run: npm publish --workspace=@tomplum/react-git-log --access public
run: npm publish --workspace=@tomplum/react-git-log --provenance
5 changes: 4 additions & 1 deletion packages/library/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "@tomplum/react-git-log",
"author": "Thomas Plumpton",
"repository": "https://github.com/TomPlum/react-git-log",
"repository": {
"type": "git",
"url": "git+https://github.com/TomPlum/react-git-log.git"
},
"description": "A flexible, themable, React component for visualising Git commit history, branch and tag metadata.",
"version": "3.5.1",
"license": "Apache-2.0",
Expand Down