Skip to content

Commit ad1356a

Browse files
authored
Update publish-release.yml (#213)
* Update publish-release.yml * Update publish-release.yml * Update publish-release.yml * Update publish-release.yml * Update publish-release.yml
1 parent c8f85a0 commit ad1356a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: actions/checkout@v2
1111
- name: Update Module Version
1212
run: |
13-
sed -i "s/ModuleVersion = '.*'/ModuleVersion = '$(echo '${{ github.event.release.tag_name }}' | cut -c 2-)'/g" Invoke-AtomicRedTeam.psd1
13+
sed -i "s/ModuleVersion = '.*'/ModuleVersion = '$(echo $GITHUB_REF_NAME | cut -c 2-)'/g" Invoke-AtomicRedTeam.psd1
1414
- name: publishing
1515
run: |
1616
Install-Module -Name powershell-yaml -Force

0 commit comments

Comments
 (0)