Commit 847c57c 1 parent c186b88 commit 847c57c Copy full SHA for 847c57c
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 17
17
type : boolean
18
18
19
19
jobs :
20
+ env :
21
+ FW_VERSION : ${{ inputs.SDK_branch == 'v2.0-dev' && '-dev-12' || '' }}
22
+
20
23
build-lin :
21
24
strategy :
22
25
matrix :
57
60
git clone -b ${{ inputs.SDK_branch }} https://github.com/4ms/metamodule-plugin-sdk --recursive
58
61
cmake -B build -G Ninja -DMETAMODULE_SDK_DIR=metamodule-plugin-sdk
59
62
cmake --build build
60
- # Optional: add version tag to the plugin file name:
61
- # cd metamodule-plugins && for f in *.mmplugin; do mv $f ${f%.mmplugin}-${{ env.CI_REF_NAME }}.mmplugin; done;
63
+ # Add version tag and required firmware version to the plugin file name:
64
+ cd metamodule-plugins && for f in *.mmplugin; do mv $f ${f%.mmplugin}-${{ env.CI_REF_NAME }}${{ env.FW_VERSION }}.mmplugin; done;
62
65
63
66
- name : Release
64
67
if : startsWith(github.ref, 'refs/tags/') && ${{ inputs.do_release }}
You can’t perform that action at this time.
0 commit comments