intellij-idea-community/README.md

88 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2015-03-07 19:45:47 +01:00
# intellij-idea-community
.deb Packages of IntelliJ IDEA Community Edition for Ubuntu
2015-03-07 23:03:26 +01:00
2015-12-13 14:17:00 +01:00
The latest upstream version is 15.0.2 which is included in the package version 15.0.2.
2015-03-30 11:23:57 +02:00
2015-03-07 23:03:26 +01:00
## Adding the ppa to Ubuntu
2015-12-13 14:17:00 +01:00
```
sudo apt-add-repository ppa:mmk2410/intellij-idea-community
sudo apt-get update
sudo apt-get install intellij-idea-community
```
2015-03-07 23:07:22 +01:00
2015-12-13 14:17:00 +01:00
## Updating the package
2015-03-07 23:07:22 +01:00
2015-12-13 14:17:00 +01:00
To update the version follow the following steps (the old version is here 15.0.1 and the new one 15.0.2):
2015-05-17 12:33:13 +02:00
2015-12-13 14:17:00 +01:00
1. Fork the repo
2. Create your own feature branch
```
git checkout -b version_15.0.2
```
3. Rename the following
```
mv intellij-idea-community_15.0.1 intellij-idea-community_15.0.2
mv intellij-idea-community_15.0.1.orig.tar.gz intellij-idea-community_15.0.2.orig.tar.gz
```
4. Edit the README.md and update the version numbers
5. Go into the build files directory
```
cd intellij-idea-community_15.0.2/debian
```
6. Edit the changelog file and prepend a new changelog entry. You can just copy an old one and update the values in it
7. Edit the preinst file and update the download url. Normally this is done by updating the version number
8. Go one directory back
```
cd ..
```
9. Run the following command to build the package for testing purposes
```
debuild -us -uc
```
10. Go another directory back
```
cd ..
```
11. Remove the old files
```
rm intellij-idea-community_15.0.1-1*
```
12. Install the package to test it
```
sudo dpkg -i intellij-idea-community_15.0.2-1_all.deb
```
13. If everything works commit your changes
```
git add -A
git commit -m "Version 15.0.2"
```
14. Push to the branch
```
git push origin version_15.0.2
```
15. Create new pull request