Skip to content

Commit 21f62f0

Browse files
committed
CI: modify version in test master
1 parent c8652bd commit 21f62f0

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

.github/workflows/docker.yml

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

.github/workflows/flatpak.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ jobs:
3333
# Map the job outputs to step outputs
3434
outputs:
3535
name: ${{ env.artifact_name }}
36-
36+
3737
steps:
3838
- name: Checkout Repository
3939
uses: actions/checkout@v4
4040
with:
4141
submodules: recursive
42-
fetch-depth: 0
42+
43+
- name: run depley.sh
44+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
45+
run: |
46+
echo "RabbitRemoteControl_VERSION=`git describe --tags --match "v*"`" >> $GITHUB_ENV
4347
4448
- name: Flatpak build
4549
uses: flathub-infra/flatpak-github-actions/flatpak-builder@master

.github/workflows/linux.yml

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