Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update 4 #12

Merged
merged 1 commit into from
Nov 26, 2024
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
20 changes: 9 additions & 11 deletions .github/workflows/web-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ jobs:
run: ls -t capa-explorer-web-v*.zip | tail -n +4 | xargs -r rm --
working-directory: web/explorer/releases

#- name: Create Pull Request
#run: |
- name: Create Pull Request
run: |
# create a new branch
#git config --local user.email "capa-dev@mandiant.com"
#git config --local user.name "Capa Bot"
#BRANCH_NAME="release/web-v${{ github.event.inputs.version }}"
#git checkout -b $BRANCH_NAME
git config --local user.email "capa-dev@mandiant.com"
git config --local user.name "Capa Bot"
BRANCH_NAME="release/web-v${{ github.event.inputs.version }}"
git checkout -b $BRANCH_NAME

# add and commit changes
#git add -f web/explorer/releases/${{ env.RELEASE_NAME }}.zip web/explorer/releases/CHANGELOG.md
#git add -u web/explorer/releases/
git add -f web/explorer/releases/${{ env.RELEASE_NAME }}.zip web/explorer/releases/CHANGELOG.md
git add -u web/explorer/releases/
#git commit -m ":robot: explorer web: add release ${{ env.RELEASE_NAME }}"

# push the branch
Expand All @@ -106,9 +106,7 @@ jobs:
- [x] No new tests needed
- [x] No documentation update needed
commit-message: ":robot: explorer web: add release ${{ env.RELEASE_NAME }}"
add-paths: |
web/explorer/releases/${{ env.RELEASE_NAME }}.zip
web/explorer/releases/CHANGELOG.md
add-paths: web/explorer/releases/*
branch: release/web-v${{ github.event.inputs.version }}
base: master
labels: webui
Expand Down
Loading