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