Skip to content

Commit

Permalink
fix graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Jan 9, 2021
1 parent aac5180 commit fe5b60e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
run: composer install --prefer-dist --no-progress


- name: Build
run: |
php dock app:build --build-version=${GITHUB_REF#refs/tags/}
- name: Create release
id: create_release
uses: actions/create-release@v1
Expand All @@ -45,12 +49,6 @@ jobs:
prerelease: false


- name: Build
run: |
php dock app:build --build-version=${GITHUB_REF#refs/tags/}
- name: Upload release asset
id: upload_release_asset
uses: actions/upload-release-asset@v1
Expand Down
5 changes: 3 additions & 2 deletions app/Updater/GithubStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ final class GithubStrategy extends \Humbug\SelfUpdate\Strategy\GithubStrategy im
public function getCurrentLocalVersion(Updater $updater): string
{
$version = parent::getCurrentLocalVersion($updater);
echo "Local version: $version";

echo "Local version: {$version}\n";
return $version;
}

public function getCurrentRemoteVersion(Updater $updater): string
{
$version = parent::getCurrentRemoteVersion($updater);
echo "Remote version: $version";
echo "Remote version: {$version}\n";
return $version;
}

Expand Down

0 comments on commit fe5b60e

Please sign in to comment.