Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored Jan 16, 2024
1 parent 73c076e commit fde61b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ jobs:
- uses: actions/checkout@v4
# jqでpackage.jsonから現在のバージョンを取得
- name: Get current version
run: echo "ver=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
run: echo "current_version=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
id: get_current_version
- run: echo "${{ steps.get_current_version.outputs.ver }}"
# バージョンをインクリメント
- name: Increment version
uses: actions/script@v7
env:
CURRENT_VERSION: ${{ steps.get_current_version.outputs.stdout }}
CURRENT_VERSION: ${{ steps.get_current_version.outputs.current_version }}
with:
script: |
const now = new Date();
Expand Down

0 comments on commit fde61b7

Please sign in to comment.