Skip to content

Commit

Permalink
add release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 27, 2023
1 parent 96460f0 commit 4a57c8e
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 20 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_android_signed.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
name: build_android_signed

on: [push]

on:
push:
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

defaults:
run:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/build_package_Rock5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ name: build_package_rock5_debian

on:
push:
branches: [ "2.5-evo" ]
pull_request:
branches: [ "2.5-evo" ]

branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'
jobs:
build:
#runs-on: ubuntu-18.04
Expand Down Expand Up @@ -36,7 +42,7 @@ jobs:
- name: Build Package
run: |
git clone https://github.com/OpenHD/ChrootCompilationTest /opt/ChrootCompilationTest
git clone -b 2.5-evo https://github.com/OpenHD/QOpenHD --recursive /opt/ChrootCompilationTest/additionalFiles
git clone -b ${{ github.ref_name }} https://github.com/OpenHD/QOpenHD --recursive /opt/ChrootCompilationTest/additionalFiles
echo $CLOUDSMITH_API_KEY > /opt/ChrootCompilationTest/additionalFiles/cloudsmith_api_key.txt
cd /opt/ChrootCompilationTest/
sudo apt update
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/build_package_rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ name: build_package_rpi

on:
push:
branches: [ "2.5-evo" ]
pull_request:
branches: [ "2.5-evo" ]

branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
Expand Down Expand Up @@ -68,7 +74,7 @@ jobs:
command: "push"
format: "deb"
owner: "openhd"
repo: "openhd-2-3-evo"
repo: ${{ github.ref_name }}
distro: "raspbian"
release: "bullseye"
republish: "true" # needed ONLY if version is not changing
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/build_package_x86_jammy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ name: build_package_x86_22

on:
push:
branches: [ "2.5-evo" ]
pull_request:
branches: [ "2.5-evo" ]
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down Expand Up @@ -47,7 +54,7 @@ jobs:
command: "push"
format: "deb"
owner: "openhd"
repo: "openhd-2-3-evo"
repo: ${{ github.ref_name }}
distro: "ubuntu"
release: "jammy"
republish: "true" # needed ONLY if version is not changing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: build_package_LUNAR

on:
push:
paths-ignore:
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
Expand Down Expand Up @@ -62,7 +66,7 @@ jobs:
command: "push"
format: "deb"
owner: "openhd"
repo: "openhd-2-3-evo"
repo: ${{ github.ref_name }}
distro: "ubuntu"
release: "lunar"
republish: "true" # needed ONLY if version is not changing
Expand Down
4 changes: 2 additions & 2 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ cp -v *.dep /opt/out/
echo "copied deb file"
echo "push to cloudsmith"
git describe --exact-match HEAD >/dev/null 2>&1
echo "Pushing the package to OpenHD 2.4 repository"
echo "Pushing the package to OpenHD release repository"
ls -a
API_KEY=$(cat cloudsmith_api_key.txt)
cloudsmith push deb --api-key "$API_KEY" openhd/openhd-2-3-evo/debian/bullseye *.deb || exit 1
cloudsmith push deb --api-key "$API_KEY" openhd/release/debian/bullseye *.deb || exit 1

0 comments on commit 4a57c8e

Please sign in to comment.