We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f85a0 commit ad1356aCopy full SHA for ad1356a
.github/workflows/publish-release.yml
@@ -10,7 +10,7 @@ jobs:
10
uses: actions/checkout@v2
11
- name: Update Module Version
12
run: |
13
- sed -i "s/ModuleVersion = '.*'/ModuleVersion = '$(echo '${{ github.event.release.tag_name }}' | cut -c 2-)'/g" Invoke-AtomicRedTeam.psd1
+ sed -i "s/ModuleVersion = '.*'/ModuleVersion = '$(echo $GITHUB_REF_NAME | cut -c 2-)'/g" Invoke-AtomicRedTeam.psd1
14
- name: publishing
15
16
Install-Module -Name powershell-yaml -Force
0 commit comments