Skip to content

Commit

Permalink
feat(ci): test draft-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lc525 committed Oct 3, 2024
1 parent f287541 commit 2f5628d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ jobs:
git add k8s/helm-charts && git commit -m "Setting version for helm charts" || echo "Nothing to commit"
git add k8s/yaml && git commit -m "Setting version for yaml manifests" || echo "Nothing to commit"
- name: Prepare artifacts
run: |
make prep-artifacts
# - name: Prepare artifacts
# run: |
# make prep-artifacts

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: .release/
# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: artifacts
# path: .release/

- name: Install auto-changelog tool
run: |
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
git add -A && git commit --amend --no-edit || echo "Nothing to commit"
# Revert GitBook URL tags to point back to the files in the v2 branch for commits
# after the release tag
git revert HEAD --no-commit && git commit --amend -m "Restore docs-gitbook code references for updates after ${RELEASE_TAG}" || echo "Nothing to commit"
git revert HEAD --no-commit && git commit -m "Restore docs-gitbook code references for updates after ${RELEASE_TAG}" || echo "Nothing to commit"
fi
- name: Generate release-notes.txt
Expand Down Expand Up @@ -160,4 +160,4 @@ jobs:
--target "${RELEASE_BRANCH}" \
.release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_API_TOKEN }}

0 comments on commit 2f5628d

Please sign in to comment.