Skip to content

Commit

Permalink
event name
Browse files Browse the repository at this point in the history
  • Loading branch information
atsju committed Jul 1, 2023
1 parent bfcac5a commit f91dbed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,11 @@ jobs:
# TODO also automate inside DFTFringe
# MY_AUTOMATED_VERSION_STRING
# MY_AUTOMATED_DATE_STRING
# must work on tags but also on PR and manual builds
# must include version in installer name
# must work on tags but also on PR and manual builds (github.sha)
# must include version in installer name
- name: Find and Replace
run: |
echo ${{github.event_name}}
(Get-Content DFTFringe/DFTFringeInstaller/config/config.xml).replace('MY_AUTOMATED_VERSION_STRING', '${{github.ref_name}}') | Set-Content DFTFringe/DFTFringeInstaller/config/config.xml
(Get-Content DFTFringe/DFTFringeInstaller/packages/com.githubdoe.DFTFringe/meta/package.xml).replace('MY_AUTOMATED_VERSION_STRING', '${{github.ref_name}}') | Set-Content DFTFringe/DFTFringeInstaller/packages/com.githubdoe.DFTFringe/meta/package.xml
Expand Down

0 comments on commit f91dbed

Please sign in to comment.