Skip to content

Commit

Permalink
Modify build script to handle pre release candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Jan 22, 2025
1 parent 378fb5b commit db8f694
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: lib3mf.dylib
path: build/lib3mf.${{ env.LIB3MF_VERSION }}.0.dylib
path: build/lib3mf.${{ env.LIB3MF_VERSION }}.dylib
- name: Upload Artifact (CPacked Archive)
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion CI/ci_cd_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def extract_version_from_cmake():

version = f"{major.group(1)}.{minor.group(1)}.{micro.group(1)}"
if prerelease and prerelease.group(1):
version += f"-{prerelease.group(1)}"
version += f".0"

return version

Expand Down
2 changes: 1 addition & 1 deletion SDK/GenerateSDK_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ echo Copy binaries
cp $LOCATION/lib3mf.dll/lib3mf.dll $SDKARTIFACT/Bin/ || failed "Error copying binary"
cp $LOCATION/lib3mf.so/lib3mf.so.2 $SDKARTIFACT/Bin/lib3mf.so || failed "Error copying binary"
ls -lR $LOCATION
cp $LOCATION/lib3mf.dylib/lib3mf*.dylib $SDKARTIFACT/Bin/lib3mf.dylib || failed "Error copying binary"
cp $LOCATION/lib3mf.dylib/lib3mf.${{ env.LIB3MF_VERSION }}.dylib $SDKARTIFACT/Bin/lib3mf.dylib || failed "Error copying binary"
cp $LOCATION/lib3mf.lib/lib3mf.lib $SDKARTIFACT/Lib/ || failed "Error copying binary"

echo Generate version.txt
Expand Down

0 comments on commit db8f694

Please sign in to comment.