We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9942925 commit 14a3cffCopy full SHA for 14a3cff
.github/workflows/tag.yml
@@ -1,10 +1,8 @@
1
-name: .NET
2
-
3
on:
4
push:
5
- branches: [ main ]
6
- pull_request:
7
+ tags:
+ - '*'
+name: Release package
8
9
jobs:
10
build:
publish-packages.sh
@@ -1,11 +1,13 @@
#!/usr/bin/env bash
cd src
+echo "src"
for directory in *; do
+ echo ${directory}
if [[ -d ${directory} ]]; then
cd ${directory}
dotnet pack *.csproj --include-symbols -c Release --output "."
sleep 5
- dotnet nuget push -s ${NUGET_API_URL} -k ${NUGET_KEY} "${directory}.1.0.0.symbols.nupkg"
+ dotnet nuget push -s ${NUGET_API_URL} -k ${NUGET_KEY} "${directory}.${TAG}.symbols.nupkg"
11
echo "success"
12
if [[ ${?} != 0 ]]
13
then
0 commit comments