Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release a new version of CADTools #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tsmock
Copy link
Contributor

@tsmock tsmock commented Oct 10, 2023

This adds a GH workflow that does the following:

  • Creates a new tag (if run on master on ROTARIUANAMARIA)
  • Clones the JOSM svn repository
  • Builds JOSM
  • Builds the plugin
  • Runs plugin tests
  • If a new tag was created, upload the plugin jar

There are two ways to create releases:

  • Merge-to-master (which is implemented in this PR)
    • This is better for slower-moving plugins. If you are constantly merging changes in the future, you may want to remove the perform-revision-tagging yaml key.
  • Push a new tag

Example release: https://github.com/tsmock/CADTools/releases/tag/v23
The download URL for CADTools on PluginsSource should be changed to https://github.com/ROTARIUANAMARIA/CADTools/releases/latest/download/CADTools.jar (the URL for the sample release would be https://github.com/tsmock/CADTools/releases/latest/download/CADTools.jar ).

@tsmock
Copy link
Contributor Author

tsmock commented Aug 8, 2024

I've changed the PluginsSource to link to my fork. If/when you merge this and do a release, feel free to change it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant