Skip to content

Commit db7d3a9

Browse files
authored
1.6.0-alpha.3 (#215)
* refactor: migrate evp out * ci: adjusted jobs * chore: bumped version * style: reformatted
1 parent 11574b5 commit db7d3a9

File tree

149 files changed

+233
-5262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+233
-5262
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
env:
1010
EXECUTABLE_NAME: evidenceangel-ui
1111
CARGO_KEEP_CONSOLE_ON_WINDOWS_FEATURE: windows-keep-console-window
12-
CARGO_EXTRA_BUILD_PARAMS: --features ui --bin evidenceangel-ui
12+
# Build params for the UI
13+
CARGO_EXTRA_BUILD_PARAMS: -p ui
1314

1415
jobs:
1516
create-release:
@@ -80,24 +81,21 @@ jobs:
8081
command: "build"
8182
target: ${{ matrix.platform.target }}
8283
toolchain: ${{ matrix.toolchain }}
83-
args: "--features cli --bin evidenceangel-cli --locked --release"
84+
args: "-p cli --locked --release"
8485
strip: true
8586
- name: Rename binary (linux and macos)
8687
run: mv target/${{ matrix.platform.target }}/release/evidenceangel-cli target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
8788
if: matrix.platform.os_name != 'Windows-x86_64'
8889
- name: Rename binary (windows)
8990
run: mv target/${{ matrix.platform.target }}/release/evidenceangel-cli.exe target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
9091
if: matrix.platform.os_name == 'Windows-x86_64'
91-
- name: Generate SHA-256
92-
run: shasum -a 256 target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} | cut -d ' ' -f 1 > target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}.sha256
9392
- name: Release binary and SHA-256 checksum to GitHub
9493
uses: softprops/action-gh-release@v1
9594
with:
9695
tag_name: ${{ needs.create-release.outputs.CARGO_PKG_VERSION }}
9796
prerelease: ${{ needs.create-release.outputs.CARGO_PKG_PRERELEASE }}
9897
files: |
9998
target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
100-
target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}.sha256
10199
102100
build-gtk:
103101
name: Build and Publish (${{ matrix.platform.os_name }})
@@ -211,12 +209,12 @@ jobs:
211209
cp bundle/bin/${{ env.EXECUTABLE_NAME }}-${{ matrix.platform.file_suffix }}.exe target/release/evidenceangel-ui.exe
212210
cp bundle/bin/${{ env.EXECUTABLE_NAME }}-console-${{ matrix.platform.file_suffix }}.exe target/release/evidenceangel-ui-console.exe
213211
echo Building CLI executable...
214-
cargo build --release -F cli --bin evidenceangel-cli
212+
cargo build --release -p cli
215213
216214
echo Generating Wix script...
217215
rm -rf ${{ steps.wingtk-install.outputs.BASE_DIR }}/include
218216
rm -rf ${{ steps.wingtk-install.outputs.BASE_DIR }}/bin/*.exe
219-
pushd wix || exit
217+
pushd ui/wix || exit
220218
GTK4_PATH="${{ steps.wingtk-install.outputs.BASE_DIR }}" ./generate_wix_script.sh
221219
sed -i 's|/d/|D:/|g' main.wxs
222220
popd || exit

.github/workflows/publish-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
echo "CARGO_PKG_PRERELEASE=${CARGO_PKG_PRERELEASE}" >> $GITHUB_OUTPUT
2525
- name: Build book
2626
run: |
27-
cd docs || exit
27+
cd ui/docs || exit
2828
cargo install mdbook
2929
mdbook build -d ${{ steps.version.outputs.CARGO_PKG_VERSION }}
3030
- name: Upload documentation
@@ -33,7 +33,7 @@ jobs:
3333
host: ${{ secrets.SSH_HOST }}
3434
username: ${{ secrets.SSH_USER }}
3535
key: ${{ secrets.SSH_KEY }}
36-
source: docs/${{ steps.version.outputs.CARGO_PKG_VERSION }}
36+
source: ui/docs/${{ steps.version.outputs.CARGO_PKG_VERSION }}
3737
target: ${{ secrets.SSH_DOCS_TARGET_PATH }}
3838

3939

.github/workflows/publish-schemas.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"rust-analyzer.cargo.features": "all",
33
"conventionalCommits.scopes": [
44
"cli",
5-
"exporters",
6-
"ui"
5+
"ui",
76
]
87
}

0 commit comments

Comments
 (0)