mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2024-11-29 13:45:12 +01:00
2.3 KiB
2.3 KiB
How to release a version of AreaShop
Below the steps to follow for releasing a version of AreaShop are listed.
Pull the latest translations from Transifex
Setup:
- Clone the InteractiveMessengerTransifex repository
- Run
mvn package
- The
target\InteractiveMessengerTransifex.jar
file should now be present
- The
Pull translations:
- Run
target/InteractiveMessengerTransifex.jar
using Java with the following arguments:download
- , get from Transifex
areashop
, project nameenyml
, name of the file to download, this is the name AreaShop uses on Transifex./AreaShop/src/main/resources/lang
, path to thelang
directory in your clone of the AreaShop repository70
, meaning only languages translated for at least 70% will get downloadedtrue
, reformat the files to be suitable for using in the plugin./langHeader.yml
, header to add to language file, this file is in the AreaShop repository<version>
, release version to put in the header
- Commit the changed files in the AreaShop repository
- Push the commit to Github
Update the version number
- In
./AreaShop/pom.xml
update the<version>
tag with the new version (following semantic versioning) - In
./changelog.md
add notes about the features/fixes of this new version - Commit the updated files
- Push the commit to Github
- Jenkins will build a new version and make it available on Maven
Uploading to distribution platforms
The order is important, uploading to Github will trigger the update notification, but points people to Spigot
- Post a resource update on Spigot
- Use the changelog in the update message
- Indicate major features in the update title
- Update the supported Spigot versions if necessary
- Upload a new file on Bukkit
- Use the changelog in the update message
- The file needs to be approved before it will be available for everyone
- Add a new release on Github
- Enter a tag like
v2.6.0
- Enter a title like
AreaShop 2.6.0
- Add the changelog
- Add the .jar file as
AreaShop.jar
- Enter a tag like