Skip to content

Commit

Permalink
Fix eclipse update site (#173)
Browse files Browse the repository at this point in the history
* fix message in plugin.xml

* fix wrong version such as "3.1.02.20170516"

* update CHANGELOG
  • Loading branch information
KengoTODA authored May 19, 2017
1 parent e2e8d01 commit 1b0df2c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

This is the changelog for SpotBugs. This follows [Keep a Changelog v0.3](http://keepachangelog.com/en/0.3.0/).

## 3.1.0-RC2 (2017/??/??)
## Unreleased (2017/??/??)

### Fixed

* Fix wrong version in Eclipse Plugin ([#173](https://github.com/spotbugs/spotbugs/pull/173))

## 3.1.0-RC2 (2017/May/16)

### Added

Expand Down
2 changes: 1 addition & 1 deletion eclipsePlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (version.endsWith('-SNAPSHOT')) {
version = version - '-SNAPSHOT' + '.' + new Date().format('yyyyMMdd') + '-' + System.currentTimeMillis()
} else if (version.contains('-RC')) {
// eclipse doesn't like the `-RC`, so we timestamp uniquely
version = version - '-RC' + '.' + new Date().format('yyyyMMdd') + '-' + System.currentTimeMillis()
version = version.substring(0, version.lastIndexOf('-RC')) + '.' + new Date().format('yyyyMMdd') + '-' + System.currentTimeMillis()
}

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion eclipsePlugin/plugin_feature-candidate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
plugin="@PLUGIN_ID@">

<description url="https://spotbugs.github.io/">
This feature is a wrapper for the FindBugs plugin for installation via the Eclipse Update Manager.
This feature is a wrapper for the SpotBugs plugin for installation via the Eclipse Update Manager.
</description>

<copyright>
Expand Down

0 comments on commit 1b0df2c

Please sign in to comment.