Github - 发布,添加javascript文件 [英] Github - release, adding javascript file

查看:129
本文介绍了Github - 发布,添加javascript文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Github上发布时(手动或使用

 git push --tags 

我得到了附带压缩代码的新版本。是否有一个简单的添加已编译的.js文件的方法,如下面的第一个?或者至少是一个可下载的链接(我只获得一个指向主分支中源代码编辑器的链接)



发布:

v0.3.4

资产(3)

- app-bundle.js< ---我无法实现这个目的/>
- 源代码(zip)< ---我只得到这两个文件

- 源代码(tar.gz)



我尝试了什么:



我读了很多文档,教程,试图在git命令行和在Github网站

解决方案

创建版本 - 用户的第7步文档 [ ^ ]应该解释这一点。

Hi, when I'm making a release on Github (manual or by using

git push --tags

I get new release with zipped code attached. Is there a simple way to add compiled .js file like the first one below? Or a downloadable link at least (I get only a link to source editor in master branch)

Releases:
v0.3.4
Assets (3)
- app-bundle.js <--- I can't achieve this
- Source code (zip) <--- I get only these two files
- Source code (tar.gz)

What I have tried:

I read many docs, tutorials, tried to make it both in git command line and in Github website

解决方案

Step 7 at Creating releases - User Documentation[^] should explain that.


这篇关于Github - 发布,添加javascript文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆