@@ -142,6 +142,11 @@ jobs:
142
142
steps :
143
143
- name : VCS Checkout
144
144
uses : actions/checkout@v3
145
+ - name : Get version number from git tag
146
+ id : tag
147
+ uses :
devops-actions/[email protected]
148
+ with :
149
+ strip_v : true
145
150
- name : Install aarch64 packages
146
151
uses : awalsh128/cache-apt-pkgs-action@latest
147
152
with :
@@ -186,57 +191,57 @@ jobs:
186
191
run : |
187
192
# It's important to change into the plugin directory and building each package
188
193
cd ./plugins/arithmetic/crates/plugin
189
- cargo deb -p inexor-rgf-plugin-arithmetic --target=${{ matrix.target }}
194
+ cargo deb -p inexor-rgf-plugin-arithmetic --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
190
195
cd ../../../base/crates/plugin
191
- cargo deb -p inexor-rgf-plugin-base --target=${{ matrix.target }}
196
+ cargo deb -p inexor-rgf-plugin-base --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
192
197
cd ../../../binary/crates/plugin
193
- cargo deb -p inexor-rgf-plugin-binary --target=${{ matrix.target }}
198
+ cargo deb -p inexor-rgf-plugin-binary --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
194
199
cd ../../../color/crates/plugin
195
- cargo deb -p inexor-rgf-plugin-color --target=${{ matrix.target }}
200
+ cargo deb -p inexor-rgf-plugin-color --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
196
201
cd ../../../comparison/crates/plugin
197
- cargo deb -p inexor-rgf-plugin-comparison --target=${{ matrix.target }}
202
+ cargo deb -p inexor-rgf-plugin-comparison --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
198
203
cd ../../../config/crates/plugin
199
- cargo deb -p inexor-rgf-plugin-config --target=${{ matrix.target }}
204
+ cargo deb -p inexor-rgf-plugin-config --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
200
205
cd ../../../connector/crates/plugin
201
- cargo deb -p inexor-rgf-plugin-connector --target=${{ matrix.target }}
206
+ cargo deb -p inexor-rgf-plugin-connector --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
202
207
cd ../../../date-time/crates/plugin
203
- cargo deb -p inexor-rgf-plugin-date-time --target=${{ matrix.target }}
208
+ cargo deb -p inexor-rgf-plugin-date-time --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
204
209
cd ../../../file/crates/plugin
205
- cargo deb -p inexor-rgf-plugin-file --target=${{ matrix.target }}
210
+ cargo deb -p inexor-rgf-plugin-file --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
206
211
cd ../../../flow/crates/plugin
207
- cargo deb -p inexor-rgf-plugin-flow --target=${{ matrix.target }}
212
+ cargo deb -p inexor-rgf-plugin-flow --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
208
213
cd ../../../git/crates/plugin
209
- cargo deb -p inexor-rgf-plugin-git --target=${{ matrix.target }}
214
+ cargo deb -p inexor-rgf-plugin-git --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
210
215
cd ../../../http/crates/plugin
211
- cargo deb -p inexor-rgf-plugin-http --target=${{ matrix.target }}
216
+ cargo deb -p inexor-rgf-plugin-http --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
212
217
cd ../../../json/crates/plugin
213
- cargo deb -p inexor-rgf-plugin-json --target=${{ matrix.target }}
218
+ cargo deb -p inexor-rgf-plugin-json --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
214
219
cd ../../../logical/crates/plugin
215
- cargo deb -p inexor-rgf-plugin-logical --target=${{ matrix.target }}
220
+ cargo deb -p inexor-rgf-plugin-logical --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
216
221
cd ../../../metadata/crates/plugin
217
- cargo deb -p inexor-rgf-plugin-metadata --target=${{ matrix.target }}
222
+ cargo deb -p inexor-rgf-plugin-metadata --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
218
223
cd ../../../numeric/crates/plugin
219
- cargo deb -p inexor-rgf-plugin-numeric --target=${{ matrix.target }}
224
+ cargo deb -p inexor-rgf-plugin-numeric --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
220
225
cd ../../../random/crates/plugin
221
- cargo deb -p inexor-rgf-plugin-random --target=${{ matrix.target }}
226
+ cargo deb -p inexor-rgf-plugin-random --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
222
227
cd ../../../result/crates/plugin
223
- cargo deb -p inexor-rgf-plugin-result --target=${{ matrix.target }}
228
+ cargo deb -p inexor-rgf-plugin-result --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
224
229
cd ../../../state/crates/plugin
225
- cargo deb -p inexor-rgf-plugin-state --target=${{ matrix.target }}
230
+ cargo deb -p inexor-rgf-plugin-state --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
226
231
cd ../../../string/crates/plugin
227
- cargo deb -p inexor-rgf-plugin-string --target=${{ matrix.target }}
232
+ cargo deb -p inexor-rgf-plugin-string --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
228
233
cd ../../../system-environment/crates/plugin
229
- cargo deb -p inexor-rgf-plugin-system-environment --target=${{ matrix.target }}
234
+ cargo deb -p inexor-rgf-plugin-system-environment --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
230
235
cd ../../../taxonomy/crates/plugin
231
- cargo deb -p inexor-rgf-plugin-taxonomy --target=${{ matrix.target }}
236
+ cargo deb -p inexor-rgf-plugin-taxonomy --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
232
237
cd ../../../trigger/crates/plugin
233
- cargo deb -p inexor-rgf-plugin-trigger --target=${{ matrix.target }}
238
+ cargo deb -p inexor-rgf-plugin-trigger --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
234
239
cd ../../../value/crates/plugin
235
- cargo deb -p inexor-rgf-plugin-value --target=${{ matrix.target }}
240
+ cargo deb -p inexor-rgf-plugin-value --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
236
241
cd ../../../graphql-client
237
- cargo deb -p inexor-rgf-plugin-graphql-client --target=${{ matrix.target }}
242
+ cargo deb -p inexor-rgf-plugin-graphql-client --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
238
243
cd ../graphql-schema-visualization
239
- cargo deb -p inexor-rgf-plugin-graphql-schema-visualization --target=${{ matrix.target }}
244
+ cargo deb -p inexor-rgf-plugin-graphql-schema-visualization --target=${{ matrix.target }} --deb-version ${{steps.tag.outputs.tag}}
240
245
env :
241
246
VERGEN_IDEMPOTENT : true
242
247
- name : Upload debian package to release
0 commit comments