Skip to content

Commit

Permalink
chore: add C# to release docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Mar 18, 2024
1 parent aba748f commit aa9b653
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs:
- csharp
- docs
- source
- java
Expand All @@ -961,6 +962,8 @@ jobs:
'(' \
-name docs.tgz -or \
-name '*.jar' -or \
-name '*.nupkg' -or \
-name '*.snupkg' -or \
-name '*.pom' -or \
-name '*.whl' -or \
-name 'adbc_*.tar.gz' -or \
Expand Down
2 changes: 1 addition & 1 deletion csharp/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<Product>Apache Arrow ADBC library</Product>
<Copyright>Copyright 2022-2023 The Apache Software Foundation</Copyright>
<Company>The Apache Software Foundation</Company>
<Version>0.5.0</Version>
<Version>0.11.0</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion dev/release/utils-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ update_versions() {
git add meta.yaml
popd

sed -i.bak -E "s/version = \".+\"/version = \"${version}\"/" "${ADBC_DIR}/csharp/Directory.Build.props"
sed -i.bak -E "s/<version>.+</version>/<version>${version}</version>/" "${ADBC_DIR}/csharp/Directory.Build.props"
rm "${ADBC_DIR}/csharp/Directory.Build.props.bak"
git add "${ADBC_DIR}/csharp/Directory.Build.props"

Expand Down
19 changes: 19 additions & 0 deletions docs/source/development/releasing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,25 @@ Be sure to go through on the following checklist:
# dev/release/post-06-ruby.sh 1.0.0
dev/release/post-06-ruby.sh <version>
.. dropdown:: Upload C#/.NET packages to NuGet
:class-title: sd-fs-5
:class-container: sd-shadow-md

You must be one of owners of the package. If you aren't an owner yet, an
existing owner can add you at https://nuget.org.

You will need to [create an API
key](https://learn.microsoft.com/en-us/nuget/nuget-org/publish-a-package#create-an-api-key).

An owner can upload:

.. code-block:: bash
export NUGET_API_KEY=<your API key here>
# dev/release/post-07-csharp.sh 1.0.0
dev/release/post-07-csharp.sh <version>
.. dropdown:: Update conda-forge packages
:class-title: sd-fs-5
:class-container: sd-shadow-md
Expand Down

0 comments on commit aa9b653

Please sign in to comment.