Skip to content

Commit

Permalink
chore: Fix ci scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Jun 27, 2024
1 parent 8b5b9a1 commit d0e35b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/bin/dist-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ for project in "${projects[@]}"; do
if [[ "$version_suffix" = "" ]]; then
dotnet_args="-p:Version=$version"
else
dotnet_args="-p:VersionPrefix=$version_prefix" \
dotnet_args="-p:VersionPrefix=$version_prefix"
dotnet_args="$dotnet_args --version-suffix=$version_suffix"
dotnet_args="$dotnet_args -p:NoPackageAnalysis=true"
dotnet_args="$dotnet_args -p:_IsPacking=true"
fi
# shellcheck disable=SC2086
dotnet build -c "$configuration" $dotnet_args || \
Expand Down
4 changes: 1 addition & 3 deletions scripts/determine-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ function getScheduledJobDate() {
async function main() {
const csprojPath = path.join(
path.dirname(__dirname),
"src",
"Libplanet",
"Libplanet.csproj",
"Directory.Build.props",
);
const versionPrefix = await readVersionPrefix(csprojPath);
const scheduledJobDate = getScheduledJobDate();
Expand Down

0 comments on commit d0e35b0

Please sign in to comment.