You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/12 10:59:00 UTC
[jira] [Work logged] (AVRO-3423) Add release step to build.sh for C#
[ https://issues.apache.org/jira/browse/AVRO-3423?focusedWorklogId=769539&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769539 ]
ASF GitHub Bot logged work on AVRO-3423:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/May/22 10:58
Start Date: 12/May/22 10:58
Worklog Time Spent: 10m
Work Description: martin-g commented on code in PR #1570:
URL: https://github.com/apache/avro/pull/1570#discussion_r871242405
##########
lang/rust/build.sh:
##########
@@ -17,57 +17,69 @@
set -e # exit on error
-root_dir=$(pwd)
-build_dir="../../build/rust"
-dist_dir="../../dist/rust"
+cd "$(dirname "$0")" # If being called from another folder, cd into the directory containing this script.
+# shellcheck disable=SC1091
+source ../../share/build-helper.sh "Rust"
+
+build_dir="$BUILD_ROOT/build/rust"
+dist_dir="$BUILD_ROOT/dist/rust"
function clean {
- if [ -d $build_dir ]; then
- find $build_dir | xargs chmod 755
- rm -rf $build_dir
+ if [ -d "$build_dir" ]; then
+ execute find "$build_dir" -exec chmod 755 {} +
+ execute rm -rf "$build_dir"
fi
}
-
function prepare_build {
clean
- mkdir -p $build_dir
+ execute mkdir -p "$build_dir"
+}
+
+function command_clean()
+{
+ execute cargo clean
+}
+
+function command_lint()
+{
+ execute cargo clippy --all-targets --all-features
Issue Time Tracking
-------------------
Worklog Id: (was: 769539)
Remaining Estimate: 20h 10m (was: 20h 20m)
Time Spent: 3h 50m (was: 3h 40m)
> Add release step to build.sh for C#
> -----------------------------------
>
> Key: AVRO-3423
> URL: https://issues.apache.org/jira/browse/AVRO-3423
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Reporter: Zoltan Csizmadia
> Priority: Minor
> Labels: pull-request-available
> Original Estimate: 24h
> Time Spent: 3h 50m
> Remaining Estimate: 20h 10m
>
> Add release step to build.sh to simplify pushing nuget packages during new releases.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)