Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0250256

Browse files
committed
fix: unzip to temp location
1 parent3d9093b commit0250256

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

‎.github/workflows/changelog.yml‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,21 @@ jobs:
1616
repository:"Govcraft/rust-docs-mcp-server"
1717
-name:Generate and Commit Changelog
1818
run:|
19-
# Download and extract git-chglog
19+
# Create a temporary directory for extraction
20+
mkdir chglog_tmp
21+
22+
# Download git-chglog archive
2023
wget https://github.com/git-chglog/git-chglog/releases/download/v0.15.4/git-chglog_0.15.4_linux_amd64.tar.gz
21-
tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz
2224
23-
# Generate changelog
24-
./git-chglog -o ./CHANGELOG.md
25+
# Extract into the temporary directory
26+
tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz -C chglog_tmp
27+
28+
# Generate changelog using the extracted executable
29+
./chglog_tmp/git-chglog -o ./CHANGELOG.md
2530
26-
# Clean up downloadedfiles
31+
# Clean up downloadedarchive and temporary directory
2732
rm git-chglog_0.15.4_linux_amd64.tar.gz
28-
rmgit-chglog
33+
rm-rf chglog_tmp
2934
3035
# Configure git user
3136
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp