Giter Club home page Giter Club logo

Comments (9)

monochromata avatar monochromata commented on May 30, 2024 1

https://docs.travis-ci.com/user/deployment/releases/ documents how to release to Github using Travis. I might give it a try in my fork.

from docker-machine-driver-hetzner.

JonasProgrammer avatar JonasProgrammer commented on May 30, 2024

Well, I cannot look into it till thursday, so if you could have a look, @monochromata, it'd be much appreciated

from docker-machine-driver-hetzner.

mxschmitt avatar mxschmitt commented on May 30, 2024

@monochromata maybe some tools / commands, which could help you:

  • mkdir releases
  • https://github.com/mitchellh/gox => gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" (creates the binary files of all architectures)
  • find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvzf {}.tar.gz {} \; (creates tar.gz archives of the gox output binary folders and strips the first directory)
  • add all releases/*tar.gz to the GitHub release

from docker-machine-driver-hetzner.

monochromata avatar monochromata commented on May 30, 2024

Ok, thanks to Max' help, I created a first release with binaries from Travis: https://github.com/monochromata/docker-machine-driver-hetzner/releases/tag/0.2.3 . The comments in .travis.yml explain how to modify the .travis.yml file to work in this repo when merged.

There are a number of open points left:

  • Add version number (from tag) to tar.gz file names
  • shorten the path in the tarball (currently: releases/docker-machine-driver-hetzner__/docker-machine-driver-hetzner)
  • I didn't test the tarball yet
  • The README needs to be adjusted

from docker-machine-driver-hetzner.

mxschmitt avatar mxschmitt commented on May 30, 2024

Hi,
That's super cool :)
I've created PRs for adding the version number to the tar archive and stripping the path away in the tarball. When you create a test release, I can test it with Rancher to check if it works fine.
Tomorrow I will also add some documentation to the readme.
Best regards
Max

from docker-machine-driver-hetzner.

monochromata avatar monochromata commented on May 30, 2024

Great: https://github.com/monochromata/docker-machine-driver-hetzner/releases/tag/0.2.4

  • I now tried the linux/amd64 binary and was able to use it to create a new server :-)
  • The tarball is fine except it now contains a directory called "." I didn't find a quick work-around for that.

from docker-machine-driver-hetzner.

mxschmitt avatar mxschmitt commented on May 30, 2024

Both should be done with the PRs in your repository. :)

from docker-machine-driver-hetzner.

monochromata avatar monochromata commented on May 30, 2024

Ok, it's done so far. The tar command is a bit ugly now (it outputs error messages because I added an extra docker-machine-driver-hetzner.exe which is missing for Unix builds, while docker-machine-driver-hetzner is missing for the Windows builds), but it works :-).

Thanks again, Max!

from docker-machine-driver-hetzner.

mxschmitt avatar mxschmitt commented on May 30, 2024

@monochromata Thanks to you too, it was a lot of fun. So should open source development be in 2018 👍

from docker-machine-driver-hetzner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.