Skip to content

Commit

Permalink
Update github-release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Cyril Vrousos <[email protected]>
  • Loading branch information
cyrilvrousos-tas authored Nov 17, 2023
1 parent 4698d16 commit d4a36f2
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
npm install
vsce package --out "target/xsmp-modeler.vsix"
- name: Rename output file
run: |
mv ${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository.zip ${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository-${{ github.ref_name }}.zip
mv ${{ github.workspace }}/org.eclipse.xsmp.vscode_extension/target/xsmp-modeler.vsix ${{ github.workspace }}/org.eclipse.xsmp.vscode_extension/target/xsmp-modeler-${{ github.ref_name }}.vsix
mv ${{ github.workspace }}/org.eclipse.xsmp.tool.smp.cli/target/org.eclipse.xsmp.tool.smp.cli.jar ${{ github.workspace }}/org.eclipse.xsmp.tool.smp.cli/target/org.eclipse.xsmp.tool.smp.cli-${{ github.ref_name }}.jar
mv ${{ github.workspace }}/org.eclipse.xsmp.profile.xsmp_sdk.cli/target/org.eclipse.xsmp.profile.xsmp_sdk.cli.jar ${{ github.workspace }}/org.eclipse.xsmp.profile.xsmp_sdk.cli/target/org.eclipse.xsmp.profile.xsmp_sdk.cli-${{ github.ref_name }}.jar
mv ${{ github.workspace }}/org.eclipse.xsmp.profile.esa_cdk.cli/target/org.eclipse.xsmp.profile.esa_cdk.cli.jar ${{ github.workspace }}/org.eclipse.xsmp.profile.esa_cdk.cli/target/org.eclipse.xsmp.profile.esa_cdk.cli-${{ github.ref_name }}.jar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -51,8 +59,8 @@ jobs:
You can find additional Command Line utilities in the Assets.
files: |
${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository.zip -> ${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository-${{ github.ref_name }}.zip
${{ github.workspace }}/org.eclipse.xsmp.vscode_extension/target/xsmp-modeler.vsix -> ${{ github.workspace }}/org.eclipse.xsmp.vscode_extension/target/xsmp-modeler-${{ github.ref_name }}.vsix
${{ github.workspace }}/org.eclipse.xsmp.tool.smp.cli/target/org.eclipse.xsmp.tool.smp.cli.jar -> ${{ github.workspace }}/org.eclipse.xsmp.tool.smp.cli/target/org.eclipse.xsmp.tool.smp.cli-${{ github.ref_name }}.jar
${{ github.workspace }}/org.eclipse.xsmp.profile.xsmp_sdk.cli/target/org.eclipse.xsmp.profile.xsmp_sdk.cli.jar -> ${{ github.workspace }}/org.eclipse.xsmp.profile.xsmp_sdk.cli/target/org.eclipse.xsmp.profile.xsmp_sdk.cli-${{ github.ref_name }}.jar
${{ github.workspace }}/org.eclipse.xsmp.profile.esa_cdk.cli/target/org.eclipse.xsmp.profile.esa_cdk.cli.jar -> ${{ github.workspace }}/org.eclipse.xsmp.profile.esa_cdk.cli/target/org.eclipse.xsmp.profile.esa_cdk.cli-${{ github.ref_name }}.jar
${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository.zip
${{ github.workspace }}/org.eclipse.xsmp.vscode_extension/target/xsmp-modeler.vsix
${{ github.workspace }}/org.eclipse.xsmp.tool.smp.cli/target/org.eclipse.xsmp.tool.smp.cli.jar
${{ github.workspace }}/org.eclipse.xsmp.profile.xsmp_sdk.cli/target/org.eclipse.xsmp.profile.xsmp_sdk.cli.jar
${{ github.workspace }}/org.eclipse.xsmp.profile.esa_cdk.cli/target/org.eclipse.xsmp.profile.esa_cdk.cli.jar

0 comments on commit d4a36f2

Please sign in to comment.