added an script to upload the package
Dieser Commit ist enthalten in:
Ursprung
c0dfa0a951
Commit
0ae59dc167
3
Makefile
3
Makefile
|
@ -10,3 +10,6 @@ docs: format
|
||||||
|
|
||||||
release: changelog docs
|
release: changelog docs
|
||||||
ansible-galaxy collection build
|
ansible-galaxy collection build
|
||||||
|
|
||||||
|
upload: release
|
||||||
|
./upload.sh
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
user=$(yq -r .namespace galaxy.yml)
|
||||||
|
package=$(yq -r .name galaxy.yml)
|
||||||
|
version=$(yq -r .version galaxy.yml)
|
||||||
|
printf "Namespace: %s\nPackage: %s\nVersion: %s\nfile name: %s\n" $user $package $version "$user-$package-$version.tar.gz"
|
||||||
|
curl -u sebastian --upload-file "${user}-${package}-${version}.tar.gz" "https://gitea.sebastian-tobie.de/api/packages/${user}/generic/${package}/${version}/${user}-${package}-${version}.tar.gz"
|
Laden…
In neuem Issue referenzieren