make a draft main release every friday
This commit is contained in:
parent
0d545e2b27
commit
47caa2e43b
1 changed files with 13 additions and 0 deletions
13
.github/workflows/vscode-version-bump.yml
vendored
13
.github/workflows/vscode-version-bump.yml
vendored
|
|
@ -15,6 +15,10 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # Fetch all history and tags
|
||||
|
||||
- name: Setup GitHub CLI
|
||||
run: |
|
||||
gh auth login --with-token <<< "${{ github.token }}"
|
||||
|
||||
- name: Use Node.js from .nvmrc
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
@ -97,6 +101,15 @@ jobs:
|
|||
echo "Pushing branch to origin..."
|
||||
git push origin $NEW_BRANCH
|
||||
|
||||
# Add release creation
|
||||
echo "Creating draft release..."
|
||||
gh release create "${NEW_BRANCH}" \
|
||||
--title "${NEW_BRANCH}" \
|
||||
--generate-notes \
|
||||
--draft \
|
||||
--latest \
|
||||
--notes-start-tag "${LAST_1_0_TAG}"
|
||||
|
||||
echo "Version bump process completed successfully!"
|
||||
|
||||
- name: Check for errors
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue