improve release workflow with tags
This commit is contained in:
parent
325d274cea
commit
63f5982350
3 changed files with 12 additions and 1 deletions
|
|
@ -138,4 +138,12 @@ if [ -f "$CHANGELOG_FILE" ]; then
|
|||
rm -f "$CHANGELOG_FILE"
|
||||
fi
|
||||
|
||||
# Fetch the tag that Forgejo created when we made the release
|
||||
echo -e "${GREEN}Fetching tags from remote to sync the tag created by Forgejo${NC}"
|
||||
if git fetch --tags; then
|
||||
echo -e "${GREEN}Tags synced successfully${NC}"
|
||||
else
|
||||
echo -e "${YELLOW}Warning: Failed to fetch tags from remote${NC}"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue