Skip to content

Releases: bynow2code/gofileserver

Release v0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Dec 12:07
build(workflow): 更新构建脚本中的包路径

- 将 github.com/bynow2code/gofileserver/main.version
  替换为 main.version
- 简化了版本注入的包路径引用
- 保持所有目标平台的构建配置一致性
- 修复了可能因包路径过长导致的构建错误

Release v0.0.6

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:56
docs(main): 完善main函数和renderDirList函数的注释文档

- 为main函数添加详细的参数说明和返回值注释
- 补充main函数中关键代码块的功能说明
- 为renderDirList函数添加完整的函数说明和参数注释
- 增加renderDirList函数内部关键逻辑的注释说明
- 提升代码可读性和维护性

Release v0.0.5

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:16
chore(build): 更新构建输出文件名

- 将所有平台的输出文件名前缀从 gofileserver 更改为 fileserver
- 保持原有的版本号和平台标识不变
- 更新 GitHub Release 上传路径以匹配新的文件名
- 确保 Android ARM64、Linux AMD64、Windows AMD64、macOS AMD64 和 macOS ARM64
  构建产物命名一致性

Release v0.0.4

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:08
chore(ci): 更新发布工作流以支持多平台编译和自动发布

- 将工作流名称从"Release"更改为"Go Project Auto Release"
- 修改触发条件,仅在推送以"v"开头的标签时运行
- 更新作业名称为"构建和发布 ${{ github.ref_name }}"
- 添加必要的权限声明以允许创建Release
- 重构步骤结构,明确区分检出、设置环境、编译和发布四个阶段
- 添加详细的注释说明每个编译目标的用途和参数含义
- 增加对Android ARM64平台的支持
- 保留Linux AMD64、Windows AMD64、macOS AMD64和macOS ARM64的编译支持
- 使用稳定的Go版本进行编译
- 禁用CGO以生成静态链接的可执行文件
- 通过ldflags将版本号注入二进制文件
- 使用ncipollo/release-action自动创建GitHub Release并上传所有编译产物

Release v0.0.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:57
feat: 嵌入模板文件并优化页面样式

- 使用 embed 包将模板文件嵌入到可执行文件中
- 修改模板路径为 templates/template.html
- 为 HTML 添加 lang 属性以提高语义化
- 更新 CSS 字体设置,增加对中文的友好支持
- 调整页面边距和列表样式以改善视觉效果

Release v0.0.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:30
build(workflow): 禁用CGO以实现跨平台编译

- 在所有GO构建命令中添加CGO_ENABLED=0环境变量
- 为Android、Linux、Windows和macOS平台启用静态链接
- 移除release-action步骤以简化发布流程

Release v0.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:16
chore(workflow): 更新release工作流中的artifact名称

- 将发布流程中上传的打包文件名从geeksaver-*更改为gofileserver-*