Skip to content

Commit

Permalink
Improved Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
daanrijpkemacb committed Nov 2, 2024
1 parent f37179b commit efa325d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,14 @@ update-trunk:
# @cd $(SVN_DIR)/trunk && svn commit -m "Updating trunk to version $(NEW_TAG)"

commit-to-svn:
@echo "$(BLUE)Committing tag to SVN...$(NC)"
svn add $(SVN_DIR)/tags/$(NEW_TAG)
cd $(SVN_DIR); svn commit -m "Added tags/$(NEW_TAG)"
@echo "$(BLUE)Committing trunk to SVN...$(NC)"
svn delete $(SVN_DIR)/trunk
svn add $(SVN_DIR)/trunk --force
cd $(SVN_DIR); svn commit -m "Replaced trunk folder with version $(NEW_TAG)"
@echo "$(GREEN)Done!$(NC)"

get-fresh-svn:
svn checkout $(SVN_URL) svn-directory
Expand Down

0 comments on commit efa325d

Please sign in to comment.