go-bin-deb-utils

command
v0.0.0-...-a8e8087 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 12 Imported by: 0

README

deprecated

go-bin-deb

MIT License

Package go-bin-deb creates binary package for debian system

Usage

export GH_TOKEN=`gh-api-cli get-auth -n release`

vagrant up

vagrant rsync && vagrant ssh -c "export GH_TOKEN=$GH_TOKEN; sh /vagrant/vagrant-run.sh"

vagrant ssh -c 'curl -L https://raw.githubusercontent.com/mh-cbon/latest/master/install.sh | GH=mh-cbon/go-bin-deb sh -xe'
vagrant ssh -c 'go-bin-deb -v'
vagrant ssh -c 'which go-bin-deb'
vagrant ssh -c 'sudo apt-get remove go-bin-deb -y'
vagrant ssh -c 'curl -L https://raw.githubusercontent.com/mh-cbon/latest/master/source.sh | GH=mh-cbon/go-bin-deb sh -xe'
vagrant ssh -c 'go-bin-deb -v'
vagrant ssh -c 'which go-bin-deb'
vagrant ssh -c 'sudo apt-get remove go-bin-deb -y'

vagrant rsync && vagrant ssh -c 'GH=mh-cbon/go-bin-deb sh /vagrant/ppa-add.sh'
vagrant rsync && vagrant ssh -c 'sudo apt-cache showpkg go-bin-deb'
vagrant rsync && vagrant ssh -c 'sudo apt-cache showpkg go-bin-rpm'
vagrant rsync && vagrant ssh -c 'sudo apt-get remove go-bin-deb -y'
vagrant rsync && vagrant ssh -c 'sudo apt-get install go-bin-deb -y --force-yes'
vagrant ssh -c 'go-bin-deb -v'
vagrant rsync && vagrant ssh -c 'sudo apt-get install go-bin-deb=0.0.17 --force-yes -y'
vagrant rsync && vagrant ssh -c 'sudo apt-get update'
vagrant ssh -c 'go-bin-deb -v'
vagrant rsync && vagrant ssh -c 'sudo apt-mark hold go-bin-deb'


vagrant destroy -f

See also

https://askubuntu.com/a/138327/544699 https://github.com/mh-cbon/go-bin-deb#recipes

Documentation

Overview

go-bin-deb-utils is a cli tool to generate debian package and repos.

Source Files

  • create-pkg.go
  • main.go
  • setup-ppa.go
  • setup-repo.go
  • utils.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL