Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
bd857ba
Merge remote-tracking branch 'origin/more_speed_2' into more_speed_2
daxgames Aug 11, 2023
6b330b8
allow launching windows terminal w/cmder from cmder
daxgames Aug 11, 2023
e52fa81
Merge branch 'more_speed_2' of https://github.com/daxgames/cmder into…
daxgames Aug 11, 2023
94ea2da
make it work with windows terminal
daxgames Sep 22, 2023
7c04ee9
fixes
daxgames Sep 22, 2023
968beb8
Add initial Windows Terminal support
daxgames Sep 25, 2023
d75ba7b
Merge branch 'master' of https://github.com/cmderdev/cmder into windo…
daxgames Sep 25, 2023
74c183c
Add initial Windows Terminal support
daxgames Sep 25, 2023
2728f36
fix
daxgames Sep 25, 2023
19fe75c
Merge branch 'master' into windows_terminal
daxgames Sep 25, 2023
7db6297
fix
daxgames Sep 25, 2023
759d0ed
fix
daxgames Sep 25, 2023
63bab36
fix
daxgames Sep 25, 2023
7fa041d
fix
daxgames Sep 25, 2023
7d3e691
add start_git_bash.cmd
daxgames Sep 25, 2023
8bb2c5d
Update Cmder command line help
daxgames Sep 25, 2023
e24f653
add pack code for windows terminal releases
daxgames Sep 25, 2023
cb54352
Merge branch 'master' of https://github.com/cmderdev/cmder into windo…
daxgames Sep 25, 2023
ab10e83
sync and add windows terminal to sources.
daxgames Sep 25, 2023
ad21915
Add pack code for windows terminal
daxgames Sep 25, 2023
3671a6e
pack and build all
daxgames Sep 25, 2023
3cc22ca
pack and build all
daxgames Sep 25, 2023
58db4e3
pack and build all
daxgames Sep 25, 2023
01da2fe
turn off /t in windows terminal defaults
daxgames Sep 25, 2023
ddad83c
PR Review requested changes
daxgames Sep 26, 2023
43a5e7e
PR Review requested changes
daxgames Sep 26, 2023
90d86a7
add vendor/bin/create-cmdercfg.cmd
daxgames Nov 6, 2023
9c834b6
Merge branch 'master' into development
DRSDavidSoft Nov 9, 2023
678b482
Merge branch 'master' into windows_terminal
daxgames Nov 11, 2023
2ab6bcd
cleanup
daxgames Nov 11, 2023
01c41a9
Merge branch 'master' into more_speed_2
daxgames Nov 11, 2023
f69e622
Merge branch 'master' into development
daxgames Nov 11, 2023
86091b7
properly set CMDER_ROOT for windows terminal bash
daxgames Nov 12, 2023
9a40419
Merge pull request #2896 from daxgames/more_speed_2
DRSDavidSoft Nov 21, 2023
8025b5b
Merge branch 'development' into windows_terminal
DRSDavidSoft Nov 21, 2023
e01a553
Merge pull request #2897 from daxgames/windows_terminal
DRSDavidSoft Nov 21, 2023
f0c18f1
Update Cmder.bat
daxgames Nov 23, 2023
f8aa7fe
PR - Requested Changes
daxgames Nov 23, 2023
08fd69b
PR - Requested Changes
daxgames Nov 23, 2023
26e684f
PR - Requested Changes
daxgames Nov 23, 2023
30718ab
Merge remote-tracking branch 'origin/windows_terminal' into windows_t…
daxgames Nov 23, 2023
016846d
Merge remote-tracking branch 'origin/windows_terminal' into development
daxgames Nov 23, 2023
67b6278
add cmder slim
daxgames Nov 23, 2023
99b4e66
add Cmder for win
daxgames Nov 24, 2023
3c2a25a
cleanup
daxgames Nov 24, 2023
5c101a0
remove small typo
DRSDavidSoft Nov 24, 2023
e2303b1
add cmder slim (i.e. option for no bundled terminal)
DRSDavidSoft Nov 24, 2023
9ce6911
add bash and powershell to Cmder for Windows
daxgames Nov 24, 2023
467d564
cleanup
daxgames Nov 24, 2023
3ff9737
Merge remote-tracking branch 'origin/development' into development
daxgames Nov 24, 2023
a7f19f5
cleanup
daxgames Nov 24, 2023
2beb27d
cleanup
daxgames Nov 24, 2023
0f6c91d
cleanup
daxgames Nov 24, 2023
7a385eb
cleanup
daxgames Nov 24, 2023
0a691cb
Merge remote-tracking branch 'upstream/development' into development
daxgames Nov 24, 2023
d8238b0
cleanup
daxgames Nov 24, 2023
4729203
add mintty
daxgames Nov 27, 2023
38a91de
cleanup
daxgames Nov 27, 2023
28e9018
make mintty /a work
daxgames Nov 27, 2023
6e21311
Merge branch 'more_speed_2' of https://github.com/daxgames/cmder into…
daxgames Nov 27, 2023
131949b
Merge branch 'master' into development
MartiUK Dec 20, 2023
c5579d2
Add Monokai, Default to One Half Dark
daxgames Jan 2, 2024
1ed3a36
Update windows_terminal_default_settings.json
daxgames Jan 2, 2024
5814792
Merge pull request #15 from daxgames/development-dax
daxgames Jan 2, 2024
d68c5b4
Merge pull request #2909 from cmderdev/master
DRSDavidSoft Apr 26, 2024
aac7cfc
Fix GitHub action (merge master into development)
DRSDavidSoft May 21, 2024
5d80371
Merge remote-tracking branch 'upstream/development' into development-dax
daxgames May 22, 2024
9ce8238
Update Windows Terminal to 1.20.11271.0
daxgames May 22, 2024
92c662d
Merge branch 'master' into development
DRSDavidSoft May 23, 2024
546d921
Merge branch 'master' into development
DRSDavidSoft May 28, 2024
41ac761
Update Windows Terminal
daxgames May 28, 2024
6692331
Merge remote-tracking branch 'upstream/development' into development-dax
daxgames May 29, 2024
2b05b3a
Update Windows Terminal default settings
daxgames May 30, 2024
23b2a86
Update Windows terminal default settings
daxgames May 30, 2024
0643c6f
Update Windows terminal default settings
daxgames May 30, 2024
881938e
Update Windows Terminal default settings and version
daxgames May 30, 2024
db3889d
remove vendor/start_git_mintty.cmd
daxgames May 30, 2024
e850f82
add vendor/start_git_mintty.cmd
daxgames May 30, 2024
c594642
update build workflow to upload cmder_win.zip
daxgames May 30, 2024
9463d4e
update build workflow to upload cmder_win*
daxgames May 30, 2024
9120d92
Merge pull request #2943 from daxgames/new_wt
daxgames May 30, 2024
167f57b
Merge branch 'upstream-development' into cmder4win
daxgames May 30, 2024
f38e0b3
sync
daxgames May 30, 2024
e457afa
Merge branch 'master' into development
DRSDavidSoft May 31, 2024
fe4f460
Merge remote-tracking branch 'upstream/development' into development-dax
daxgames May 31, 2024
2e945fb
Fix launcher overwritting/backing up emulator settings
daxgames May 31, 2024
339e6b4
Merge branch 'master' into development
DRSDavidSoft Jun 6, 2024
e84f2ff
Merge branch 'master' into development
DRSDavidSoft Jul 27, 2024
3feebbc
Merge branch 'upstream_development' into development-dax
daxgames Aug 3, 2024
82ab068
cleanup
daxgames Aug 15, 2024
85fcef1
Merge remote-tracking branch 'origin/fix_launcher_overwrite' into dev…
daxgames Aug 20, 2024
8e44daf
Sync
daxgames Aug 20, 2024
f4f6255
remove extra {}
daxgames Aug 20, 2024
ffa37d4
sync fix launcher overwrite
daxgames Aug 22, 2024
376981a
x
daxgames Aug 22, 2024
d047236
x
daxgames Aug 22, 2024
fbd4c04
Merge branch 'master' into development
DRSDavidSoft Oct 14, 2024
4740b83
adjust indentation and merge from main
DRSDavidSoft Oct 17, 2024
9b466e3
merge changes from master
DRSDavidSoft Oct 17, 2024
940cadc
Merge branch 'master' into development
DRSDavidSoft Oct 17, 2024
cc40343
Merge branch 'master' into development
DRSDavidSoft Nov 13, 2024
d15e7ac
cleanup
DRSDavidSoft Nov 13, 2024
5d0699a
Merge branch 'development' of https://github.com/cmderdev/cmder into …
DRSDavidSoft Nov 13, 2024
b140db4
Merge branch 'development' of https://github.com/cmderdev/cmder into …
DRSDavidSoft Nov 13, 2024
6c95424
Merge branch 'development' of https://github.com/cmderdev/cmder into …
DRSDavidSoft Nov 13, 2024
f11b1cb
x
daxgames Dec 22, 2024
1c77c92
Merge remote-tracking branch 'upstream/master' into development-dax
daxgames Dec 29, 2024
246711a
Merge remote-tracking branch 'upstream/development' into development-dax
daxgames Dec 29, 2024
ebce847
origin/fix_launcher_overwrite
daxgames Dec 29, 2024
b0d59c9
Merge branch 'fix_launcher_overwrite' into development-dax
daxgames Dec 29, 2024
8ea276d
not set
daxgames Jan 2, 2025
36ea619
not set
daxgames Jan 2, 2025
9b5be7b
cleanup
daxgames Jan 2, 2025
05f616f
cleanup
daxgames Jan 2, 2025
74d7dd2
cleanup
daxgames Jan 2, 2025
a9f8707
Merge branch 'fix_launcher_overwrite-2' into development-dax
daxgames Jan 2, 2025
a1a6a02
Merge pull request #2825 from daxgames/more_speed_2
daxgames Jan 5, 2025
980083f
Merge pull request #23 from daxgames/more_speed_2
daxgames Jan 5, 2025
6cf4a42
Merge pull request #24 from daxgames/fix_launcher_overwrite-2
daxgames Jan 5, 2025
bd3f132
Merge branch 'origin-development-dax' into cmder4win
daxgames Jan 5, 2025
0c2e5ce
CHANGELOG.md
daxgames Jan 6, 2025
b00dce8
Merge remote-tracking branch 'origin/cmder4win' into cmder4win
daxgames Jan 6, 2025
e0aa20a
CHANGELOG.md
daxgames Jan 6, 2025
0634969
CHANGELOG.md
daxgames Jan 6, 2025
b412036
CHANGELOG.md
daxgames Jan 6, 2025
d349f57
add executionpolicy bypass
daxgames Jan 6, 2025
8683dad
Remove /a switch and associated code.
daxgames Jan 6, 2025
15d5618
Merge pull request #2988 from daxgames/fix_launcher_overwrite-2
daxgames Jan 6, 2025
c1bbc46
Merge branch 'upstream-development' into cmder4win
daxgames Jan 6, 2025
7ac805c
Merge pull request #2942 from daxgames/cmder4win
daxgames Mar 9, 2025
6d82cf8
fix build script
daxgames Apr 3, 2025
a44b30c
Update build.yml
daxgames Apr 3, 2025
e3fc1a1
Merge branch 'master' into development
DRSDavidSoft Apr 8, 2025
8b004be
Merge branch 'master' into development
DRSDavidSoft Apr 8, 2025
2868f9e
revert inadvertent changes
daxgames Apr 8, 2025
df42ff2
indentation cleanup and comment fix
DRSDavidSoft Apr 8, 2025
aa156a2
revert inadvertent changes
DRSDavidSoft Apr 8, 2025
76c5b9e
resolve conflicts
DRSDavidSoft Jul 15, 2025
bb14aea
merge with master
DRSDavidSoft Jul 15, 2025
cf97d7d
Merge branch 'master' into development
DRSDavidSoft Jul 15, 2025
623bd52
Merge branch 'master' into development
DRSDavidSoft Jul 16, 2025
e52906a
Merge branch 'master' into development
DRSDavidSoft Jul 16, 2025
e2784bc
Bump actions/checkout from 4 to 5
DRSDavidSoft Aug 12, 2025
b1b9bd2
Merge branch 'master' into development
DRSDavidSoft Nov 6, 2025
66747a1
Merge branch 'master' into development
DRSDavidSoft Nov 6, 2025
d45651f
Merge branch 'master' of https://github.com/cmderdev/cmder into devel…
DRSDavidSoft Nov 6, 2025
4886f61
Merge branch 'development' of https://github.com/cmderdev/cmder into …
DRSDavidSoft Nov 6, 2025
2f148fb
Merge branch 'master' into development
DRSDavidSoft Nov 6, 2025
f9a4b0d
Merge branch 'master' into development
DRSDavidSoft Nov 6, 2025
f6eb7aa
Improve path enhancement handling in lib_path.cmd
DRSDavidSoft Nov 6, 2025
2786942
fix typo
DRSDavidSoft Nov 6, 2025
375f63a
fix indentation
DRSDavidSoft Nov 6, 2025
76711b4
improve consistency
DRSDavidSoft Nov 6, 2025
b522c13
Merge branch 'master' into development
DRSDavidSoft Nov 6, 2025
74b3f18
Merge pull request #3037 from mbotezatu/master
DRSDavidSoft Nov 7, 2025
d4433f8
Merge branch 'master' into development
DRSDavidSoft Nov 7, 2025
f6bf29d
Merge branch 'master' into development
DRSDavidSoft Nov 7, 2025
71b648f
Merge branch 'master' into development
DRSDavidSoft Nov 7, 2025
a0a5b2c
Merge branch 'master' into development
DRSDavidSoft Nov 7, 2025
85c0824
merge with master
DRSDavidSoft Nov 7, 2025
09ab2f2
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
36670ea
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
3ca3b9f
Merge branch 'master' of https://github.com/cmderdev/cmder into devel…
DRSDavidSoft Nov 8, 2025
bf7d516
Merge branch 'development' of https://github.com/cmderdev/cmder into …
DRSDavidSoft Nov 8, 2025
b0ab14d
Ignore whitespace-only .ps1 commits in blame
DRSDavidSoft Nov 8, 2025
081e818
Ignore whitespace-only .cmd commits in blame
DRSDavidSoft Nov 8, 2025
f91d0bd
Refactor .git-blame-ignore-revs for clarity
DRSDavidSoft Nov 8, 2025
96f0bc9
ignore commit
DRSDavidSoft Nov 8, 2025
d900f6a
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
a571eed
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
842393a
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
e2fcb1c
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
1b03e29
Merge branch 'master' into development
DRSDavidSoft Nov 8, 2025
9030e7a
Merge branch 'master' into development
DRSDavidSoft Nov 9, 2025
d001d91
Merge branch 'master' into development
DRSDavidSoft Nov 9, 2025
f67e570
resolve conflicts
DRSDavidSoft Nov 9, 2025
5536ea2
ignore git commit
DRSDavidSoft Nov 9, 2025
105ff01
resolve conflicts
DRSDavidSoft Nov 9, 2025
7bb7678
Merge branch 'master' into development
DRSDavidSoft Nov 9, 2025
480b638
Merge branch 'master' into development
DRSDavidSoft Nov 9, 2025
8fa1d2e
Merge remote-tracking branch 'upstream/development' into development-dax
daxgames Nov 27, 2025
974f5b0
spacing
daxgames Nov 27, 2025
13904e4
Merge pull request #3053 from daxgames/cmder-micro-tasks
daxgames Nov 27, 2025
f461904
Merge pull request #3034 from cmderdev/pr/lib_path
daxgames Nov 27, 2025
039e7d2
Merge branch 'master' into upstream-development
daxgames Feb 22, 2026
884165d
Merge branch 'master' into development
daxgames Feb 22, 2026
54b96df
sync master and CHANGELOG.md updates
daxgames Feb 22, 2026
d8c52c4
Merge branch 'master' into development
daxgames Feb 22, 2026
dc99548
Merge branch 'upstream-master' into upstream-development
daxgames Feb 22, 2026
0550f36
Merge branch 'master' into development
daxgames Feb 22, 2026
306dffa
cleanup and fixes
daxgames Jun 7, 2026
0fe6842
x
daxgames Jun 7, 2026
dd1d167
Initial plan
Copilot Jun 14, 2026
4d0ccb0
fix: add build-mode: manual, update setup-msbuild to v3, use -NoVendo…
Copilot Jun 14, 2026
b73d7df
Merge pull request #3085 from cmderdev/copilot/fix-analyze-cpp-job
daxgames Jun 14, 2026
d25aa76
more consistent path creation between shells
daxgames Jun 14, 2026
5fc9e0b
Merge remote-tracking branch 'upstream/copilot/fix-analyze-cpp-job' i…
daxgames Jun 14, 2026
213d6a1
Merge branch 'master' of https://github.com/cmderdev/cmder into devel…
DRSDavidSoft Jun 14, 2026
6793c5a
cleanup
daxgames Jun 14, 2026
8c40ddd
Merge remote-tracking branch 'upstream/development' into init-bat-cle…
daxgames Jun 14, 2026
80f3441
more consistent path setting accros shells
daxgames Jun 14, 2026
515db0c
cleanup
daxgames Jun 14, 2026
aca331f
cleanup
daxgames Jun 14, 2026
8989d2d
Merge pull request #3082 from daxgames/init-bat-cleanup
daxgames Jun 14, 2026
4347d13
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
a51ee20
Make Windows Terminal the default terminal
daxgames Jun 14, 2026
c314d56
Fix workflow summary markdown tables
DRSDavidSoft Jun 14, 2026
f09be1b
Make Windows Terminal the default terminal
daxgames Jun 14, 2026
8813f31
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
bc27a30
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
1e9a47d
Merge development into packaging profiles
DRSDavidSoft Jun 14, 2026
9c1159e
Merge pull request #3090 from daxgames/wt_default
DRSDavidSoft Jun 14, 2026
93d3c78
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
9f9d01b
Merge remote-tracking branch 'origin/development' into development
DRSDavidSoft Jun 14, 2026
afea84a
Normalize terminal flag casing
DRSDavidSoft Jun 14, 2026
3693b31
Restore workflow summary comments
DRSDavidSoft Jun 14, 2026
c013848
Add scripts/README.me
daxgames Jun 14, 2026
261e3d3
Add scripts/README.me
daxgames Jun 14, 2026
b299c9a
Move verbose to end of command
DRSDavidSoft Jun 14, 2026
3271c39
cleanup
daxgames Jun 14, 2026
f8cf2ca
cleanup
daxgames Jun 14, 2026
9cd0734
refactor packaging profiles
DRSDavidSoft Jun 14, 2026
21fb7c1
Use upload-artifact v7
DRSDavidSoft Jun 14, 2026
910ad8f
Normalize -Verbose placement
DRSDavidSoft Jun 14, 2026
b6bbdee
Rename cmder_win profile to cmder_slim
DRSDavidSoft Jun 14, 2026
d832aef
Restore emoji-rich build summary
DRSDavidSoft Jun 14, 2026
6ce9489
Restore per-file artifact links
DRSDavidSoft Jun 14, 2026
2ffec6b
Fix vendor PR summary fallback
DRSDavidSoft Jun 14, 2026
9c3564d
Keep vendor fallback on protected branch push failure
DRSDavidSoft Jun 14, 2026
351d177
Switch package profiles to included vendors
DRSDavidSoft Jun 14, 2026
e1a71f7
Link workflow summary row to build file
DRSDavidSoft Jun 14, 2026
1bcfc71
Drive package variants from JSON config
DRSDavidSoft Jun 14, 2026
076bcfc
Normalize ConEmu task names
DRSDavidSoft Jun 14, 2026
244e021
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
24beabb
Link update-vendor branch in summary
DRSDavidSoft Jun 14, 2026
d7e04c3
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
3085d90
Merge branch 'master' into development
DRSDavidSoft Jun 14, 2026
2e10a34
Normalize casing in PowerShell helpers
DRSDavidSoft Jun 14, 2026
9e3e8e4
Fix casing
DRSDavidSoft Jun 14, 2026
cb0df18
Restore per-file artifact uploads
DRSDavidSoft Jun 14, 2026
ece1948
Restore per-file artifact links
DRSDavidSoft Jun 14, 2026
5531447
Fix artifact links in build summary
DRSDavidSoft Jun 15, 2026
ff33e02
Add branch metadata to build summary
DRSDavidSoft Jun 15, 2026
343cb15
Add build branch notices
DRSDavidSoft Jun 15, 2026
7fd9b3d
Fix vendor PR summary newline
DRSDavidSoft Jun 19, 2026
1ed09e7
Merge remote-tracking branch 'origin/master' into HEAD
DRSDavidSoft Jun 19, 2026
4cdd7af
Merge master into development
DRSDavidSoft Jun 19, 2026
8155738
Fix Windows PowerShell build script parsing
DRSDavidSoft Jun 19, 2026
2a11c30
Merge master into development
DRSDavidSoft Jun 19, 2026
471808d
Address build script review cleanup
DRSDavidSoft Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# List of whitespace-only commits to ignore in the Git blame;
# to improve tracking changes and avoid noise
58db4e3419bf1e5cc1bb61fcd7ce2ebbca89243a
efb3338f5cf0eec21e8a75abc62ee14965cb4a7e
3859f6ffc088b2ae78748abc84986f4adcadcd41
d6569192fc91167f555c3eff58402ff01f1197ea
67de97a492c9389f95499db38f9474a1c20ec585
a0d085f93eaa69c22449d0217e8daf9eaea2b180
1cfba25beb46c74bb1debca2bcfe7ac470e96172
f6bc623284914489e891bbac923feb774c862b99
abbab3f8b477e917d0a175d0de23cce121096631
126347025f9cade241beff182738b2527da7535e
4740b836f300658b27e6ad4d79efac63c9c24c24
be44bac95670b1cbbc91bd657882d985989846f9
f67e5704eda60526d495be758572181f01a6cac8
199 changes: 142 additions & 57 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ jobs:
$branchLink = "https://github.com/${{ github.repository }}/tree/$refName"
}

Write-Host "::notice title=Build info::Cmder $cmderVersion was built from branch '$actualBranchName' via '$eventName'."
if ($prNumber) {
Write-Host "::notice title=Pull request::Associated with PR #$prNumber."
}

$summary = @"
## 📦 Build Cmder - Workflow Summary

Expand All @@ -88,7 +93,8 @@ jobs:
| Property | Value |
| --- | --- |
| Repository | [``${{ github.repository }}``](https://github.com/${{ github.repository }}) |
| Branch | [``$actualBranchName``]($branchLink) |
| Source Branch | [``$actualBranchName``]($branchLink) |
| Event | ``$eventName`` |
"@

if ($prNumber) {
Expand All @@ -98,7 +104,7 @@ jobs:
$summary += @"
| Commit | [``${{ github.sha }}``](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) |
| Actor | [@${{ github.actor }}](https://github.com/${{ github.actor }}) |
| Workflow | ``${{ github.workflow }}`` |
| Workflow | [``${{ github.workflow }}``](https://github.com/${{ github.repository }}/blob/${{ github.sha }}/.github/workflows/build.yml) |
| Cmder Version | **$cmderVersion** |

---
Expand Down Expand Up @@ -135,7 +141,6 @@ jobs:
}

$summary += "`n"

$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8

- name: Add MSBuild to PATH
Expand All @@ -144,116 +149,194 @@ jobs:
- name: Build Cmder Launcher
shell: pwsh
working-directory: scripts
run: .\build.ps1 -Compile -verbose
run: .\build.ps1 -Compile -Terminal all -Verbose

- name: Summary - Build completed
if: success()
shell: pwsh
run: |
$summary = @"

---

✅ Cmder built successfully.

"@

$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8
echo "### ✅ Build Status" >> $env:GITHUB_STEP_SUMMARY
echo "" >> $env:GITHUB_STEP_SUMMARY
echo "Cmder launcher successfully compiled." >> $env:GITHUB_STEP_SUMMARY
echo "" >> $env:GITHUB_STEP_SUMMARY

- name: Pack the built files
shell: pwsh
working-directory: scripts
run: .\pack.ps1 -verbose
run: .\pack.ps1 -Terminal all -Verbose

- name: Upload artifact (cmder.zip)
- name: Upload artifact (cmder_slim.7z)
id: upload_cmder_slim_7z
uses: actions/upload-artifact@v7
with:
path: build/cmder_slim/cmder_slim.7z
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_slim.zip)
id: upload_cmder_slim_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder.zip
name: cmder.zip
path: build/cmder_slim/cmder_slim.zip
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_slim_mini.zip)
id: upload_cmder_slim_mini_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder_slim/cmder_slim_mini.zip
if-no-files-found: error
archive: false

- name: Upload artifact (cmder.7z)
id: upload_cmder_7z
uses: actions/upload-artifact@v7
with:
path: build/cmder.7z
name: cmder.7z
path: build/cmder/cmder.7z
if-no-files-found: error
archive: false

- name: Upload artifact (cmder.zip)
id: upload_cmder_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder/cmder.zip
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_mini.zip)
id: upload_cmder_mini_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder/cmder_mini.zip
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_conemu.7z)
id: upload_cmder_conemu_7z
uses: actions/upload-artifact@v7
with:
path: build/cmder_mini.zip
name: cmder_mini.zip
path: build/cmder_conemu/cmder_conemu.7z
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_conemu.zip)
id: upload_cmder_conemu_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder_conemu/cmder_conemu.zip
if-no-files-found: error
archive: false

- name: Upload artifact (cmder_conemu_mini.zip)
id: upload_cmder_conemu_mini_zip
uses: actions/upload-artifact@v7
with:
path: build/cmder_conemu/cmder_conemu_mini.zip
if-no-files-found: error
archive: false

- name: Upload artifact (hashes.txt)
id: upload_hashes_txt
uses: actions/upload-artifact@v7
with:
path: build/hashes.txt
name: hashes.txt
if-no-files-found: error
archive: false

- name: Summary - Artifacts uploaded
- name: Summary - Package artifacts
if: success()
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
Comment thread
DRSDavidSoft marked this conversation as resolved.
ARTIFACT_URL_CMDER_SLIM_7Z: ${{ steps.upload_cmder_slim_7z.outputs.artifact-url }}
ARTIFACT_URL_CMDER_SLIM_ZIP: ${{ steps.upload_cmder_slim_zip.outputs.artifact-url }}
ARTIFACT_URL_CMDER_SLIM_MINI_ZIP: ${{ steps.upload_cmder_slim_mini_zip.outputs.artifact-url }}
ARTIFACT_URL_CMDER_7Z: ${{ steps.upload_cmder_7z.outputs.artifact-url }}
ARTIFACT_URL_CMDER_ZIP: ${{ steps.upload_cmder_zip.outputs.artifact-url }}
ARTIFACT_URL_CMDER_MINI_ZIP: ${{ steps.upload_cmder_mini_zip.outputs.artifact-url }}
ARTIFACT_URL_CMDER_CONEMU_7Z: ${{ steps.upload_cmder_conemu_7z.outputs.artifact-url }}
ARTIFACT_URL_CMDER_CONEMU_ZIP: ${{ steps.upload_cmder_conemu_zip.outputs.artifact-url }}
ARTIFACT_URL_CMDER_CONEMU_MINI_ZIP: ${{ steps.upload_cmder_conemu_mini_zip.outputs.artifact-url }}
ARTIFACT_URL_HASHES_TXT: ${{ steps.upload_hashes_txt.outputs.artifact-url }}
run: |
# Source utility functions
. scripts/utils.ps1
function Get-ArtifactUrl {
param(
[Parameter(Mandatory = $true)]
[string]$ArtifactName
)

$envName = "ARTIFACT_URL_" + (($ArtifactName -replace '[^A-Za-z0-9]+', '_').Trim('_')).ToUpperInvariant()
$downloadUrl = [Environment]::GetEnvironmentVariable($envName)
if ($downloadUrl) {
return $downloadUrl
}

return Get-ArtifactDownloadUrl -ArtifactName $ArtifactName -Repository "${{ github.repository }}" -RunId "${{ github.run_id }}"
}

$profiles = Get-CmderPackageProfiles -Terminal all
$summary = @"
### 🗃️ Artifacts

| Artifact | Size | Hash (SHA256) |
| --- | --- | --- |
### 🗃️ Packages
"@

# Get all files from the build directory (excluding directories and hidden files)
if (Test-Path "build") {
$buildFiles = Get-ChildItem -Path "build" -File | Where-Object { -not $_.Name.StartsWith('.') } | Sort-Object Name
foreach ($profile in $profiles) {
$profilePath = Join-Path "build" $profile.outputFolder
if (-not (Test-Path $profilePath)) {
continue
}

$summary += "`n`n#### 📁 $($profile.displayName) ``$($profile.outputFolder)``"
$summary += "`n`n| Artifact | Size | Hash (SHA256) |"
$summary += "`n| --- | --- | --- |"

$buildFiles = Get-ChildItem -Path $profilePath -File | Where-Object { -not $_.Name.StartsWith('.') } | Sort-Object Name
foreach ($file in $buildFiles) {
$artifact = $file.Name
$path = $file.FullName
$sizeFormatted = Format-FileSize -Bytes $file.Length
$hash = (Get-FileHash $path -Algorithm SHA256).Hash

# Try to get the actual artifact download URL
$downloadUrl = Get-ArtifactDownloadUrl -ArtifactName $artifact -Repository "${{ github.repository }}" -RunId "${{ github.run_id }}"
$downloadUrl = Get-ArtifactUrl -ArtifactName $artifact
$warning = ""

if (-not $downloadUrl) {
# Fallback to workflow run page if artifact URL fetch fails
$downloadUrl = "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
$warning = " ⚠️"
}

# Determine emoji based on file type
if ($artifact -match '\.txt$') {
$emoji = "📄"
} elseif ($artifact -match '\.(zip|rar|7z)$') {
$emoji = "🗄️"
} else {
$emoji = "📦"
}

$emoji = Get-ArtifactTypeEmoji -Name $artifact
$sizeFormatted = Format-FileSize -Bytes $file.Length
$hash = (Get-FileHash $file.FullName -Algorithm SHA256).Hash
$summary += "`n| $emoji [``$artifact``$warning]($downloadUrl) | $sizeFormatted | ``$hash`` |"
}
}
$summary += "`n"

$hashesPath = "build/hashes.txt"
if (Test-Path $hashesPath) {
$downloadUrl = Get-ArtifactUrl -ArtifactName "hashes.txt"
$warning = ""

if (-not $downloadUrl) {
$downloadUrl = "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
$warning = " ⚠️"
}

$hashesSize = Format-FileSize -Bytes (Get-Item $hashesPath).Length
$hashesHash = (Get-FileHash $hashesPath -Algorithm SHA256).Hash
$summary += "`n`n#### 🧾 Hash Manifest"
$summary += "`n`n| Artifact | Size | Hash (SHA256) |"
$summary += "`n| --- | --- | --- |"
$summary += "`n| 📄 [``hashes.txt``$warning]($downloadUrl) | $hashesSize | ``$hashesHash`` |"
}

$summary += "`n"
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8

- name: Create Release
uses: softprops/action-gh-release@v3
with:
files: |
build/cmder.zip
build/cmder.7z
build/cmder_mini.zip
build/hashes.txt
files: build/**/*.*
draft: true
generate_release_notes: true
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -262,6 +345,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
shell: pwsh
run: |
. scripts/utils.ps1
$profiles = Get-CmderPackageProfiles -Terminal all
$summary = @"

---
Expand All @@ -270,12 +355,12 @@ jobs:

🚀 Draft release created for tag: **``${{ github.ref_name }}``**

Release includes:
- Full version (``cmder.zip``, ``cmder.7z``)
- Mini version (``cmder_mini.zip``)
- File hashes (``hashes.txt``)

> ⚠️ Release is in **draft** mode. Please review and publish manually.
Release includes these package groups:
"@

foreach ($profile in $profiles) {
$summary += "`n- **$($profile.displayName)** ``$($profile.outputFolder)``"
}

$summary += "`n`n> ⚠️ Release is in **draft** mode. Please review and publish manually.`n"
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: manual
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand All @@ -121,7 +122,7 @@ jobs:
- name: Build Cmder Launcher
shell: pwsh
working-directory: scripts
run: .\build.ps1 -Compile -verbose
run: .\build.ps1 -Compile -NoVendor -Verbose

- name: Summary - Build status
if: success()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Initialize vendors
shell: pwsh
working-directory: scripts
run: .\build.ps1 -verbose
run: .\build.ps1 -Verbose

- name: Summary - Vendor initialization
if: success()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$currentVersion = (Get-Content -Raw .\vendor\sources.json | ConvertFrom-Json)
. .\scripts\update.ps1 -verbose
. .\scripts\update.ps1 -Verbose

# Export count of updated packages (update.ps1 is expected to set $count)
if (-not ($count)) { $count = 0 }
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ launcher/src/version.rc2
.vs/*
.vscode
.idea
.vagrant/
scripts/packer/iso/*.iso
!scripts/packer/floppy/*.exe
scripts/packer/packer_cache
scripts/packer/output-*
*.box

Loading
Loading