mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 02:37:12 +00:00
Move version.txt into the build folder
This commit is contained in:
parent
802ec772b7
commit
5149217580
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -250,7 +250,7 @@ jobs:
|
||||
run: xcrun stapler staple --verbose Gqrx.dmg
|
||||
- name: Rename DMG
|
||||
run: |
|
||||
GQRX_VERSION=$(<version.txt)
|
||||
GQRX_VERSION=$(<build/version.txt)
|
||||
mv Gqrx.dmg Gqrx-$GQRX_VERSION.dmg
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,7 +5,6 @@
|
||||
/*.dmg
|
||||
/AppDir/
|
||||
/Gqrx.app/
|
||||
/version.txt
|
||||
.idea/
|
||||
cmake-build*/
|
||||
/CMakeLists.txt.user
|
||||
|
@ -22,7 +22,7 @@ else()
|
||||
)
|
||||
endif()
|
||||
add_definitions(-DVERSION="${VERSION}")
|
||||
file(WRITE version.txt ${VERSION})
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/version.txt ${VERSION})
|
||||
|
||||
set(PACKAGE ${PROJECT_NAME})
|
||||
|
||||
|
@ -33,7 +33,7 @@ echo " Starting to build the AppImage..."
|
||||
echo "==================================================================="
|
||||
echo ""
|
||||
|
||||
export VERSION=$(<version.txt)
|
||||
export VERSION=$(<build/version.txt)
|
||||
|
||||
# version notice
|
||||
echo "You are building Gqrx version: $VERSION"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
GQRX_VERSION=$(<version.txt)
|
||||
GQRX_VERSION=$(<build/version.txt)
|
||||
IDENTITY=Y3GC27WZ4S
|
||||
|
||||
mkdir -p Gqrx.app/Contents/MacOS
|
||||
|
Loading…
Reference in New Issue
Block a user