mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-24 10:43:33 +00:00
Add "v" to --version argument output
This commit is contained in:
parent
592cb002bd
commit
ed62a1f93d
4
.github/workflows/create_package.yml
vendored
4
.github/workflows/create_package.yml
vendored
@ -105,8 +105,8 @@ jobs:
|
||||
# base_ref for pull request check, ref for push
|
||||
run: |
|
||||
cd ./appimage_temp/sunshine
|
||||
version=$(./sunshine.AppImage --version | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
|
||||
echo "sunshine_version=v${version}" >> $GITHUB_ENV
|
||||
version=$(./sunshine.AppImage --version | grep -o -E 'v[0-9]+\.[0-9]+\.[0-9]+')
|
||||
echo "sunshine_version=${version}" >> $GITHUB_ENV
|
||||
- name: Compare Versions
|
||||
if: ${{ ( github.ref == 'refs/heads/master' || github.base_ref == 'master') && ( env.sunshine_version != needs.check_changelog.outputs.next_version ) }}
|
||||
run: |
|
||||
|
@ -84,7 +84,7 @@ int entry(const char *name, int argc, char *argv[]) {
|
||||
|
||||
namespace version {
|
||||
int entry(const char *name, int argc, char *argv[]) {
|
||||
std::cout << PROJECT_NAME << " version: " << PROJECT_VER << std::endl;
|
||||
std::cout << PROJECT_NAME << " version: v" << PROJECT_VER << std::endl;
|
||||
return 0;
|
||||
}
|
||||
} // namespace version
|
||||
|
Loading…
x
Reference in New Issue
Block a user