Skip to content

Commit

Permalink
Merge pull request #3 from tshion/feature/2025.01.02
Browse files Browse the repository at this point in the history
Update 2025.01.02
  • Loading branch information
tshion authored Jan 2, 2025
2 parents 500dae6 + 1cedc71 commit 9314aed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create a pull request for set version
name: Create a release pull request

on:
workflow_dispatch:
Expand Down Expand Up @@ -68,20 +68,19 @@ jobs:
VERSION: ${{ steps.meta.outputs.version }}
run: |
branch="feature/$VERSION"
message="Update $VERSION"
git switch --create "$branch"
git add build
git add package.json
git add package-lock.json
git commit --message "$message"
git commit --message "Update $VERSION"
git push --set-upstream origin "$branch"
- name: Create pull request
env:
ASSIGNEE: tshion
BASE: ${{ github.ref_name }}
BASE: released
BODY: ${{ fromJson(steps.notes.outputs.response).body }}
GH_TOKEN: ${{ github.token }}
TITLE: '${{ steps.meta.outputs.version }}'
run: gh pr create --assignee "$ASSIGNEE" --base "$BASE" --title "$TITLE" --body "$BODY"
VERSION: ${{ steps.meta.outputs.version }}
run: gh pr create --assignee "$ASSIGNEE" --base "$BASE" --title "Update $VERSION" --body "$BODY"
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
version=$(node -p "require('./package.json').version")
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Create draft release notes
- name: Create release notes
env:
GH_TOKEN: ${{ github.token }}
VERSION: ${{ steps.meta.outputs.version }}
run: |
git tag "$VERSION"
git push origin "$VERSION"
gh release create "$VERSION" --draft --generate-notes --title "$VERSION"
gh release create "$VERSION" --generate-notes --title "$VERSION"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Google API utility methods for Node.js.
This library is not published as npm, please refer directly to GitHub repository.

``` shell
npm install tshion/gapi-utils-nodejs
npm install tshion/gapi-utils-nodejs#{version}
```

After installing the above dependencies, refer to `@gapi-utils/nodejs` where you want to use it.
Expand Down

0 comments on commit 9314aed

Please sign in to comment.