Skip to content

Commit

Permalink
Allow tabs in the version define
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Dec 10, 2023
1 parent dcd6620 commit 3aa17b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Extract plugin version
id: version
run: |
VERSION=$(grep -oP '#define PLUGIN_VERSION "\K[^"]+' addons/sourcemod/scripting/${{ env.PLUGIN_NAME }}.sp)
VERSION=$(grep -oP '#define PLUGIN_VERSION\s+"\K[^"]+' addons/sourcemod/scripting/${{ env.PLUGIN_NAME }}.sp)
echo "PLUGIN_VERSION=$VERSION" >> $GITHUB_ENV
- name: Compile plugin
Expand Down

0 comments on commit 3aa17b9

Please sign in to comment.