Skip to content

Commit

Permalink
updated workflow to use correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
takilara committed May 9, 2021
1 parent a460d9a commit 2f19212
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/buildandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
run: |
mkdir build -p
sed -i 's/Telegram.Version = "0.0.0"/Telegram.Version = "${{ steps.get_version1.outputs.version }}"/g' "Telegram Connector.xml"
echo return {{[1] = [[${{ steps.get_version2.outputs.version }}]],},} > "version.lua"
echo return {{[1] = [[${{ steps.get_version1.outputs.version }}]],},} > "version.lua"
cp version.lua build/version.lua
zip --junk-paths build/TelegramConnector.mpackage README.md "Telegram Connector.xml" LICENSE config.lua
Expand All @@ -55,7 +53,7 @@ jobs:
id: build_zip2
run: |
mkdir build -p
sed -i 's/Telegram.Version = "0.0.0"/Telegram.Version = "${{ steps.get_version1.outputs.version }}"/g' "Telegram Connector.xml"
sed -i 's/Telegram.Version = "0.0.0"/Telegram.Version = "${{ steps.get_version2.outputs.version }}"/g' "Telegram Connector.xml"
echo return {{[1] = [[${{ steps.get_version2.outputs.version }}]],},} > "version.lua"
cp version.lua build/version.lua
zip --junk-paths build/TelegramConnector.mpackage README.md "Telegram Connector.xml" LICENSE config.lua
Expand Down

0 comments on commit 2f19212

Please sign in to comment.