Skip to content

Fix source release archives to include git submodules#2

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-release-creation
Draft

Fix source release archives to include git submodules#2
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-release-creation

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 19, 2026

GitHub source release tarballs were missing .gitmodules and other hidden files, causing submodules to be excluded from the archive.

Changes

The build_source_release.yml workflow used mv * to collect files, which doesn't expand hidden files (dotfiles) in bash:

  mkdir -p /tmp/$PKGNAME
+ shopt -s dotglob
  mv * /tmp/$PKGNAME
+ shopt -u dotglob
  mv /tmp/$PKGNAME .

Enabling dotglob ensures .gitmodules, .gitattributes, and other dotfiles are included in the release tarball. Submodule metadata is now preserved in source archives.

Original prompt

This section details on the original issue you should resolve

<issue_title>fix github release creation</issue_title>
<issue_description>### Are you using SoftEther VPN 5.x?

  • Yes, I'm using SoftEther VPN 5.x, not 4.x.

Version

master

Component

Other

Operating system & version

independent

Architecture or Hardware model

amd64

Steps to reproduce

when github release is created, the archive without git submodules is uploaded to github releases. we need to modify either appropriate workflow or some github setting to add submodules as well

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Anything else?

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: chipitsine <2217296+chipitsine@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix GitHub release creation to include submodules Fix source release archives to include git submodules Jan 19, 2026
Copilot AI requested a review from chipitsine January 19, 2026 21:24
@chipitsine
Copy link
Copy Markdown
Owner

chipitsine commented Jan 19, 2026

sorry, we are not interested in hidden files. we are interested in git submodules (which can be checked out using --recursive and usually not included to "git release" command)

@copilot ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix github release creation

2 participants