Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ jobs:

- name: Bump version in ALL SKILL.md files
if: steps.version.outputs.skip != 'true'
env:
NEW_VERSION: ${{ steps.version.outputs.new_version }}
run: |
NEW_VERSION="${{ steps.version.outputs.new_version }}"
# Sync the new version across every SKILL.md under skills/deepworkplan
# (router + create/execute/refine/resume/status/onboard + addons).
while IFS= read -r f; do
Expand All @@ -122,10 +123,14 @@ jobs:

- name: Update CHANGELOG.md
if: steps.version.outputs.skip != 'true'
env:
NEW_VERSION: ${{ steps.version.outputs.new_version }}
# Passed via env (NOT inlined with ${{ }}) so commit messages
# containing quotes, backticks, or $() can't break or inject into
# this shell script.
COMMITS: ${{ steps.version.outputs.commits }}
run: |
NEW_VERSION="${{ steps.version.outputs.new_version }}"
DATE=$(date -u +%Y-%m-%d)
COMMITS="${{ steps.version.outputs.commits }}"

# Build the new section.
{
Expand Down Expand Up @@ -157,9 +162,10 @@ jobs:

- name: Commit, tag, push
if: steps.version.outputs.skip != 'true'
env:
NEW_VERSION: ${{ steps.version.outputs.new_version }}
NEW_TAG: ${{ steps.version.outputs.new_tag }}
run: |
NEW_VERSION="${{ steps.version.outputs.new_version }}"
NEW_TAG="${{ steps.version.outputs.new_tag }}"
git add -A
git commit -m "chore(release): ${NEW_VERSION} [skip ci]"
git tag -a "$NEW_TAG" -m "Release ${NEW_VERSION}"
Expand Down
Loading