feat: initial version
This commit is contained in:
parent
430e06bf68
commit
ff32d0e026
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) <year> <copyright holders>
|
Copyright (c) 2023 Hammer Technologies LLC
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if ! command -v go &>/dev/null; then
|
||||||
|
sudo apt-get update && sudo apt-get install -y golang
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
|
||||||
|
sudo chmod +x /root/go/bin/nfpm
|
||||||
|
|
||||||
|
yq -i ".version=\"${1}\"" nfpm.yaml
|
||||||
|
sudo /root/go/bin/nfpm package -p deb
|
||||||
|
|
||||||
|
if ! command -v pip &>/dev/null; then
|
||||||
|
sudo apt-get update && sudo apt-get install -y python-pip
|
||||||
|
fi
|
||||||
|
|
||||||
|
pip2 install --upgrade cloudsmith-cli
|
||||||
|
cloudsmith push deb lumeweb/lume-web-relay/ubuntu/focal *.deb
|
||||||
|
cloudsmith push deb lumeweb/lume-web-relay/ubuntu/jammy *.deb
|
Loading…
Reference in New Issue