Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtaylor1982 committed Oct 14, 2024
1 parent fbc5321 commit 5c2d5f6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:
working-directory: Quartus

jobs:
synthesis:
create_release:
runs-on: ubuntu-latest
container:
image: mbtaylor1982/quartus:22.1
Expand All @@ -38,24 +38,24 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
##########################################################################
## 2 - Get current version for tagging binary
## 2 - Get current version for tagging
##########################################################################
- name: Get the version
- name: Get the tag / version
id: version
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
##########################################################################
## 3 - add tag to version register
##########################################################################
- name: Replace single file
- name: Replace /$V$ in file registers.v with tag
uses: richardrigutins/replace-in-files@v2
with:
files: 'RTL/Registers/registers.v'
search-text: '/$V$'
replacement-text: ${{ steps.version.outputs.version }}
- name: Replace single file
- name: Replace /$V$ in file cocotb_resdmac.py with tag
uses: richardrigutins/replace-in-files@v2
with:
files: 'RTL/cocotb/coctb_resdmac.py'
files: 'RTL/cocotb/cocotb_resdmac.py'
search-text: '/$V$'
replacement-text: ${{ steps.version.outputs.version }}
##########################################################################
Expand Down Expand Up @@ -94,8 +94,9 @@ jobs:
## 7 - Gernerate Change Log
##########################################################################
- name: Changelog
uses: glennawatson/ChangeLog@v1
id: changelog
uses: janheinrichmerker/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
##########################################################################
## 8 - Create a new GitHub release and upload the distribution artifacts
##########################################################################
Expand Down

0 comments on commit 5c2d5f6

Please sign in to comment.