Merge pull request #517 from Ana06/better-tag

ci: add capa release link to capa-rules tag
This commit is contained in:
Ana María Martínez Gómez
2021-04-08 10:49:07 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -15,7 +15,12 @@ jobs:
repository: fireeye/capa-rules
token: ${{ secrets.CAPA_TOKEN }}
- name: Tag capa-rules
run: git tag ${{ github.event.release.tag_name }}
run: |
# user information is needed to create annotated tags (with a message)
git config user.email 'capa-dev@fireeye.com'
git config user.name 'Capa Bot'
name=${{ github.event.release.tag_name }}
git tag $name -m "https://github.com/fireeye/capa/releases/$name"
- name: Push tag to capa-rules
uses: ad-m/github-push-action@master
with: