nurupo / ci-release-publisher Goto Github PK
View Code? Open in Web Editor NEWA script for publishing Travis-CI build artifacts on GitHub Releases
Home Page: https://pypi.org/project/ci-release-publisher/
License: MIT License
A script for publishing Travis-CI build artifacts on GitHub Releases
Home Page: https://pypi.org/project/ci-release-publisher/
License: MIT License
Currently the Latest Release will be created only if the Travis-CI build we are currently running in is the latest build for the branch. This is done to:
While this check works very well if we assume that a user sets up CIRP to run on every git push and makes only git push builds, it stars to fall apart when it's ran only in Travis-CI's cron builds. We can get in a situation when a cron build is started first, but then someone makes a git push into the repo, creating another build, so the cron build is no longer the latest build for the branch and it won't update the Latest Release, yielding the right to update to the newer build, but since CIRP is ran only on cron builds, the newer build that was caused by git push won't be updating Latest Release, resulting in Latest Release not getting updated at all. The behavior we want here is for Latest Release to check if the current build is the latest cron build.
Since we have no way to know which kinds of builds: git push, cron, api, etc. a user restricted Travis-CI to run CRIP on, there is no way for the script to detect which kinds of builds it should be checking for, so some kind of an option is required. For example, --latest-release-check {push, cron, api} [{push, cron, api} ...]
, which, if not provided, will default to checking the latest build without any restriction, making it consistent with the current behavior.
https://github.com/cloudius-systems/osv#osv uses the plugin in the 'Publishes to a different repo' mode
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.