Coder Social home page Coder Social logo

lindell / github-release-cli Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 2.24 MB

This is a tool to make github releases, including files and complex bodies. It is primarily intended to be used with travis.

License: MIT License

Makefile 14.04% Go 85.96%

github-release-cli's Introduction

github-release-cli's People

Contributors

liesauer avatar lindell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

github-release-cli's Issues

Custom branch tagging

Currently the script doesn't allow to tag a branch that isn't the default one(master). In order that to happen, a user must include target_commitish as a parameter when creating the release. More info can be found here.
I'd help with a PR but I don't really know Go and really don't have time at the moment. Really appreciated the help with the script.

Parallel uploads to a release

I am using Travis CI to run 3 VMs in parallel to create 3 different binaries of my application. The releaser is properly setting up the release and including my body text as expected. However, it is creating 3 independent releases instead of adding all of the uploads from the independent VMs to the same defined release.
Is there something that I am missing to have all 3 VMs upload to the same release?

Can't upload files

Configuration

before_deploy:
  - curl https://github.com/lindell/github-release-cli/releases/download/1.3.0/github-releaser-travis -L --output github-releaser && chmod +x github-releaser
  - export BODY=$(cat app/src/main/play/release-notes/en-GB/production.txt)
  - export RELEASE_NAME="Release $(./gradlew -q :app:printVersionName)"
  - export FILES=app/build/outputs/apk/foss/release/*

deploy:
  - provider: script
    script: ./github-releaser -draft -verbose
    skip_cleanup: true
    on:
      repo: devgianlu/DNSHero
      branch: master
      tags: true

Error message

2019/08/09 12:42:00 Post https://uploads.github.com/repos/devgianlu/DNSHero/releases/0/assets?label=app-foss-release.apk&name=app-foss-release.apk: EOF

https://travis-ci.com/devgianlu/DNSHero/builds/122584069

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.