How to publish files built in github without managing them

Asked 1 years ago, Updated 1 years ago, 63 views

Currently, we use bower and cdn.rawgit.com to publish a library of javascripts, such as:

https://github.com/59naga/victorica#readme

In this way, you will manage deliverables (victorica.min.js) on github, which accumulates deliverables and causes commits to grow.

Would it be possible to upload a test successfully on TravisCI and access the deliverables from services such as cdn?

Currently, I am thinking about using https://npmcdn.com/ to access files npm publish from TravisCI via NodeJS server.

https://npmcdn.com/victorica @0.0.2/lib/index.js

javascript node.js travis-ci bower

2022-09-30 21:14

1 Answers

It's a little late.
I understand that you do not want to commit the build result deliverables to the repository, not the source.
If you push the tag assigned by git to github, you can write release information tied to the tag in Releases, but you can attach any file to it.

In my case, I distribute executable jar like this in ↓.
https://github.com/vmi/selenese-runner-java/releases

You can also use the github API, so I think you should write a script for the release.


2022-09-30 21:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.