Skip to content

Commit

Permalink
fix pipeline with hashes that start with a number
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-mh committed Feb 3, 2024
1 parent f9383f2 commit 79aea6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
sed -i "s|<string name=\"displayName\" translatable=\"false\">Authenticator</string>|<string name=\"displayName\" translatable=\"false\">Authenticator ($REF)</string>|g" AuthenticatorPro.Droid/Resources/values/strings.xml
dotnet publish -f:$FRAMEWORK -c:$CONFIGURATION --no-restore AuthenticatorPro.Droid/AuthenticatorPro.Droid.csproj
mv "AuthenticatorPro.Droid/bin/$CONFIGURATION/$FRAMEWORK/publish/me.jmh.authenticatorpro.$REF-Signed.apk" "me.jmh.authenticatorpro.$REF.apk"
APK=$(find AuthenticatorPro.Droid/bin/$CONFIGURATION/$FRAMEWORK/publish -name '*-Signed.apk')
mv $APK "me.jmh.authenticatorpro.$REF.apk"
- name: Publish Wear OS
run: |
Expand All @@ -50,7 +51,8 @@ jobs:
sed -i "s|<string name=\"displayName\" translatable=\"false\">Authenticator</string>|<string name=\"displayName\" translatable=\"false\">Authenticator ($REF)</string>|g" AuthenticatorPro.WearOS/Resources/values/strings.xml
dotnet publish -f:$FRAMEWORK -c:$CONFIGURATION --no-restore AuthenticatorPro.WearOS/AuthenticatorPro.WearOS.csproj
mv "AuthenticatorPro.WearOS/bin/$CONFIGURATION/$FRAMEWORK/publish/me.jmh.authenticatorpro.$REF-Signed.apk" "me.jmh.authenticatorpro.wearos.$REF.apk"
APK=$(find AuthenticatorPro.WearOS/bin/$CONFIGURATION/$FRAMEWORK/publish -name '*-Signed.apk')
mv $APK "me.jmh.authenticatorpro.wearos.$REF.apk"
- name: Generate coverage report
uses: irongut/[email protected]
Expand Down

0 comments on commit 79aea6e

Please sign in to comment.