mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-06-02 01:13:32 +08:00
Update main.yml
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user