Update main.yml

This commit is contained in:
VirtualHotBar
2024-05-04 14:37:06 +08:00
parent 512669fd75
commit 52b911db5a

View File

@@ -33,6 +33,9 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const lastSegment = process.env.PACKAGE_VERSION.split('.').pop();
const releaseTag = `${lastSegment}`;
const { data } = await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,