make a draft main release every friday

This commit is contained in:
Nate 2025-04-05 16:23:16 -07:00
parent 0d545e2b27
commit 47caa2e43b

View file

@ -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