Skip to content

Commit

Permalink
Update version number (#1048)
Browse files Browse the repository at this point in the history
IB-7146

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored Mar 16, 2022
1 parent 6204bf5 commit a6d520b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 25 deletions.
36 changes: 14 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build on macOS
runs-on: macos-latest
env:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,12 +33,12 @@ jobs:
- name: Build
run: |
QT_DIR=$(ls -d /Library/Developer/Qt-*-OpenSSL | tail -n 1)
mkdir build && cd build && cmake \
cmake \
-DQt5_DIR=${QT_DIR}/lib/cmake/Qt5 \
-DOPENSSL_ROOT_DIR=/Library/Developer/OpenSSL \
-DLDAP_ROOT=/Library/Developer/OpenLDAP \
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
make zipdebug macdeployqt zip
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -B build -S .
cmake --build build --target zipdebug macdeployqt zip
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -107,9 +107,7 @@ jobs:
- name: Install Build Deps
run: dnf groupinstall -y "Development Tools" "Development Libraries" fedora-packager
- name: Install Deps
run: |
dnf install -y \
cmake openssl-devel vim-common qt5-qtsvg-devel qt5-linguist
run: dnf install -y cmake openssl-devel vim-common qt5-qtsvg-devel qt5-linguist
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
Expand All @@ -119,16 +117,11 @@ jobs:
path: libdigidocpp-pkg
repo: 'open-eid/libdigidocpp'
- name: Install artifact
run: |
dnf install -y ./libdigidocpp-pkg/*$(lsb_release -rs)*.rpm
rm -rf libdigidocpp-pkg
run: dnf install -y ./libdigidocpp-pkg/*$(lsb_release -rs)*.rpm
- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make package
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S .
cmake --build build --target all package
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -200,7 +193,7 @@ jobs:
uses: lukka/run-vcpkg@v7
with:
vcpkgArguments: openssl
vcpkgGitCommitId: d417ae59d6e9aa20d9f812b5deb966645c54687d
vcpkgGitCommitId: b25cb779e5783531cc66562e224079b376055939
vcpkgTriplet: ${{ matrix.arch }}-windows
- name: Install Qt
uses: jurplel/install-qt-action@v2
Expand All @@ -216,14 +209,13 @@ jobs:
- name: Build
run: |
md build/client
cd build
copy ${{ env.VCPKG_ROOT }}\installed\${{ matrix.arch }}-windows\bin\*.dll client\
copy ${{ env.VCPKG_ROOT }}\installed\${{ matrix.arch }}-windows\bin\*.dll build\client\
cmake "-GNinja" -DCMAKE_BUILD_TYPE=RelWithDebInfo `
-DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake `
"-DLIBDIGIDOCPP_LIBRARY=../libs/libdigidocpp/${{ matrix.arch }}/digidocpp.lib" `
"-DLIBDIGIDOCPP_INCLUDE_DIR=../libs/libdigidocpp/include" ..
cmake --build . --target msi
cmake --build . --target appx
"-DLIBDIGIDOCPP_LIBRARY=libs/libdigidocpp/${{ matrix.arch }}/digidocpp.lib" `
"-DLIBDIGIDOCPP_INCLUDE_DIR=libs/libdigidocpp/include" -B build -S .
cmake --build build --target msi
cmake --build build --target appx
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
project(qdigidoc4 VERSION 4.2.11)
project(qdigidoc4 VERSION 4.2.12)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand All @@ -26,7 +26,7 @@ set(CPACK_PACKAGE_VERSION ${VERSION})
set(CPACK_GENERATOR "RPM")
set(CPACK_PACKAGE_NAME "qdigidoc4")
set(CPACK_PACKAGE_RELEASE 1)
set(CPACK_PACKAGE_CONTACT "Andrus Randveer")
set(CPACK_PACKAGE_CONTACT "RIA <info@ria.ee>")
set(CPACK_PACKAGE_VENDOR "RIA")
set(CPACK_PACKAGING_INSTALL_PREFIX "/usr/")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
Expand Down
6 changes: 6 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
DigiDoc4 version [4.2.11](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.2.11) release notes
--------------------------------------
- Code, Text and translation improvements and updates

[Full Changelog](https://github.com/open-eid/DigiDoc4-Client/compare/v4.2.9...v4.2.11)

DigiDoc4 version [4.2.9](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.2.9) release notes
--------------------------------------
- Code, Text and translation improvements and updates
Expand Down
4 changes: 4 additions & 0 deletions client/mac/Info.plist.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleShortVersionString</key>
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion cmake

0 comments on commit a6d520b

Please sign in to comment.