Skip to content

Commit

Permalink
Create Swift Package Manager compatible tags (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdowell committed Apr 26, 2022
1 parent fe25e21 commit ccdb6a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ ifneq ($(shell git diff origin/master..master),)
$(error you have unpushed commits on the master branch)
endif
@git tag v$(PRESET_VERSION)
@git push origin v$(PRESET_VERSION)
# Swift Package Manager prefers tags to be unprefixed package versions
@git tag $(PRESET_VERSION)
@git push origin v$(PRESET_VERSION) $(PRESET_VERSION)
@git checkout next
@git rebase origin/next
@git merge master
Expand Down

0 comments on commit ccdb6a0

Please sign in to comment.