h-matsuo / circleci-orb-github-release Goto Github PK
View Code? Open in Web Editor NEWCircleCI orb to manage GitHub's Releases
Home Page: https://circleci.com/orbs/registry/orb/h-matsuo/github-release
License: MIT License
CircleCI orb to manage GitHub's Releases
Home Page: https://circleci.com/orbs/registry/orb/h-matsuo/github-release
License: MIT License
I tried following instructions on https://circleci.com/developer/orbs/orb/h-matsuo/github-release but I get the following build error after adding a github-release/create step:
/bin/bash: line 1: ghr: command not found
I also tried adding:
- run:
name: Install ghr
command: go get -u github.com/tcnksm/ghr
before github-release/create but that still results in the same error.
Hi @h-matsuo , I'm glad to find your cool orb.
release:
description: Create dummy file and publish a new release tagged `vX.Y.Z`.
executor: github-release/default
steps:
- attach_workspace:
at: .
- github-release/create:
tag: $CIRCLE_TAG
title: Version $CIRCLE_TAG
description: This release is version vX.Y.Z .
file-path: ./index-macos
Do you have any idea why this is not working?
#!/bin/bash -eo pipefail
ghr \
--token $GITHUB_TOKEN \
--username $CIRCLE_PROJECT_USERNAME \
--repository $CIRCLE_PROJECT_REPONAME \
--commitish $CIRCLE_SHA1 \
--name "Version $CIRCLE_TAG" \
--body "This release is version vX.Y.Z ." \
\
\
$CIRCLE_TAG ./index-macos
Invalid argument: you must set TAG and PATH name.
Exited with code 13
In the documentation:
Avoid using mutable tags like
latest
or1
as the image version in yourconfig.yml
file.
c.f. Docker Image Best Practices - Choosing an Executor Type
Add job for this orb.
It is troublesome to specify the executor every time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.