Skip to content

Commit 6e2ead5

Browse files
committed
CI: modify version in test master
1 parent c8652bd commit 6e2ead5

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ jobs:
5252
uses: actions/checkout@v4
5353
with:
5454
submodules: true
55-
fetch-depth: 0
55+
# fetch-depth: 0
56+
57+
- name: run depley.sh
58+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
59+
run: |
60+
echo "RabbitRemoteControl_VERSION=`git describe --tags --match "v*"`" >> $GITHUB_ENV
61+
./depley.sh
62+
5663
- name: run docker
5764
run: |
5865
./Script/build_linux.sh --docker --docker-image="${{matrix.variant.image}}${{matrix.variant.lable}}" --${{matrix.variant.PACKAGE}}

.github/workflows/flatpak.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
submodules: recursive
4242
fetch-depth: 0
4343

44+
- name: run depley.sh
45+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
46+
run: |
47+
echo "RabbitRemoteControl_VERSION=`git describe --tags --match "v*"`" >> $GITHUB_ENV
48+
4449
- name: Flatpak build
4550
uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
4651
with:

.github/workflows/linux.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ jobs:
5050
uses: actions/checkout@v3
5151
with:
5252
submodules: recursive
53-
fetch-depth: 0
53+
# fetch-depth: 0
54+
55+
- name: run depley.sh
56+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
57+
run: |
58+
echo "RabbitRemoteControl_VERSION=`git describe --tags --match "v*"`" >> $GITHUB_ENV
59+
./depley.sh
5460
5561
- name: Make directories
5662
run: |

.github/workflows/msvc.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ jobs:
7373
uses: actions/checkout@v3
7474
with:
7575
submodules: recursive
76-
fetch-depth: 0
76+
77+
- name: run depley.sh
78+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
79+
shell: bash
80+
run: |
81+
echo "RabbitRemoteControl_VERSION=`git describe --tags --match "v*"`" >> $GITHUB_ENV
82+
./depley.sh
7783
7884
- name: Make directories
7985
run: |

0 commit comments

Comments
 (0)