Skip to content

Commit 6cdf64e

Browse files
committed
🔨 tag取得を追加
1 parent 303d0b8 commit 6cdf64e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/generate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
if-no-files-found: error
4949
path: types/*
5050

51+
- name: 最新のタグを取得
52+
id: get_tag
53+
run: |
54+
TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
55+
echo "tag=$TAG" >> $GITHUB_OUTPUT
56+
5157
- name: Upload .d.ts to existing release
5258
uses: softprops/action-gh-release@v1
5359
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "javalibraryscript",
3-
"version": "v1.0.3.6",
3+
"version": "v1.0.3.7",
44
"description": "Javaの機能をJavaScriptに適当に再現",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)