@@ -142,6 +142,11 @@ jobs:
142142 steps :
143143 - name : VCS Checkout
144144 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
145150 - name : Install aarch64 packages
146151 uses : awalsh128/cache-apt-pkgs-action@latest
147152 with :
@@ -186,57 +191,57 @@ jobs:
186191 run : |
187192 # It's important to change into the plugin directory and building each package
188193 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}}
190195 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}}
192197 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}}
194199 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}}
196201 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}}
198203 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}}
200205 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}}
202207 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}}
204209 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}}
206211 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}}
208213 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}}
210215 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}}
212217 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}}
214219 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}}
216221 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}}
218223 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}}
220225 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}}
222227 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}}
224229 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}}
226231 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}}
228233 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}}
230235 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}}
232237 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}}
234239 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}}
236241 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}}
238243 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}}
240245 env :
241246 VERGEN_IDEMPOTENT : true
242247 - name : Upload debian package to release
0 commit comments