Skip to content

Commit 346be01

Browse files
authored
build: regenerate reference docs from nothing for each release (#484)
1 parent 935fd9b commit 346be01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ tag:
8484
exit 1; \
8585
fi
8686
@printf "$(FONT_BOLD)Updating Docs$(FONT_RESET)\n"
87+
rm -rf ./docs/reference/commands ./docs/reference/errors.md
8788
./bin/slack docgen ./docs/reference --skip-update
8889
sed -i.bak -E "s#slack_cli_[0-9]+\.[0-9]+\.[0-9]+_macOS_arm64\.tar\.gz#slack_cli_$(RELEASE_VERSION)_macOS_arm64.tar.gz#" docs/guides/installing-the-slack-cli-for-mac-and-linux.md
8990
sed -i.bak -E "s#slack_cli_[0-9]+\.[0-9]+\.[0-9]+_macOS_amd64\.tar\.gz#slack_cli_$(RELEASE_VERSION)_macOS_amd64.tar.gz#" docs/guides/installing-the-slack-cli-for-mac-and-linux.md

0 commit comments

Comments
 (0)