Skip to content

Commit

Permalink
CI Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed May 31, 2023
1 parent a240761 commit efd8814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/generate_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

latest_tag = None
latest_tag_commit = None
commits_with_tags = gh.openlane.tags
commits_with_tags = gh.dffram.tags
tags = [tag for _, tag in commits_with_tags]
for tag in commits_with_tags:
commit, name = tag
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,13 @@ jobs:
shell: bash
run: echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Generate Tag
if: env.PUSHING == '1'
run: |
echo "NEW_TAG=NO_NEW_TAG" >> $GITHUB_ENV
if [ "${{ github.event_name }}" != "pull_request" ] && [ "${{ env.BRANCH_NAME }}" = "main" ]; then
python3 ./.github/scripts/generate_tag.py
fi
- name: All Artifacts
uses: actions/upload-artifact@v3
- name: Download All Artifacts
uses: actions/download-artifact@v3
with:
path: ./artifacts
- name: Create Release
Expand All @@ -146,7 +145,8 @@ jobs:
ghr\
-owner AUCOHL\
-repository DFFRAM\
-committish HEAD\
-commitish main\
-token ${{ secrets.GITHUB_TOKEN }}\
-replace\
$NEW_TAG\
$artifact
Expand Down

0 comments on commit efd8814

Please sign in to comment.