Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
prepare 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcc-orange committed Oct 29, 2015
1 parent aafe807 commit 7342fa8
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions cepheus-broker/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FROM java:8-jre
MAINTAINER FIWARE Cepheus Team

ENV CEPHEUS_VERSION 0.1.1-SNAPSHOT
ENV CEPHEUS_REPO snapshots
ENV CEPHEUS_VERSION 0.1.1
ENV CEPHEUS_REPO releases

WORKDIR /opt/cepheus

Expand Down
2 changes: 1 addition & 1 deletion cepheus-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>cepheus</artifactId>
<groupId>com.orange.cepheus</groupId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions cepheus-cep/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FROM java:8-jre
MAINTAINER FIWARE Cepheus Team

ENV CEPHEUS_VERSION 0.1.1-SNAPSHOT
ENV CEPHEUS_REPO snapshots
ENV CEPHEUS_VERSION 0.1.1
ENV CEPHEUS_REPO releases

WORKDIR /opt/cepheus

Expand Down
2 changes: 1 addition & 1 deletion cepheus-cep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>cepheus</artifactId>
<groupId>com.orange.cepheus</groupId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion cepheus-ngsi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.orange.cepheus</groupId>
<artifactId>cepheus</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
6 changes: 3 additions & 3 deletions doc/admin/broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ If you have `maven`, you can run the following command:

mvn dependency:get -DgroupId=com.orange.cepheus -DartifactId=cepheus-broker -Dversion=XXXX -Dtransitive=false

where `XXXX` is the version you want, like `0.1.1-SNAPSHOT` or `LATEST`.
where `XXXX` is the version you want, like `0.1.1` or `LATEST`.

### Download from [Sonatype Central repository](http://central.sonatype.org/) using wget

If you don't have `maven` installed on your machine, you can still download the standalone JAR using `wget` or any browser:

wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.orange.cepheus&a=cepheus-broker&v=LATEST"
wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=com.orange.cepheus&a=cepheus-broker&v=LATEST"

## Running

Expand All @@ -53,7 +53,7 @@ The Cepheus-Broker is also provided in a preconfigured Debian package to ease de

Download the Debian package from [Sonatype Central repository](http://central.sonatype.org/) using `wget`:

wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.orange.cepheus&a=cepheus-broker&v=LATEST&p=deb"
wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=com.orange.cepheus&a=cepheus-broker&v=LATEST&p=deb"

### Installing

Expand Down
6 changes: 3 additions & 3 deletions doc/admin/cep.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ If you have `maven`, you can run the following command:

mvn dependency:get -DgroupId=com.orange.cepheus -DartifactId=cepheus-cep -Dversion=XXXX -Dtransitive=false

where `XXXX` is the version you want, like `0.1.1-SNAPSHOT` or `LATEST`.
where `XXXX` is the version you want, like `0.1.1` or `LATEST`.

### Download from [Sonatype Central repository](http://central.sonatype.org/) using wget

If you don't have `maven` installed on your machine, you can still download the standalone JAR using `wget` or any browser:

wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.orange.cepheus&a=cepheus-cep&v=LATEST"
wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=com.orange.cepheus&a=cepheus-cep&v=LATEST"

## Running

Expand All @@ -52,7 +52,7 @@ The Cepheus-CEP is also provided in a preconfigured Debian package to ease deplo

Download the Debian package from [Sonatype Central repository](http://central.sonatype.org/) using `wget`:

wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=com.orange.cepheus&a=cepheus-cep&v=LATEST&p=deb"
wget "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=com.orange.cepheus&a=cepheus-cep&v=LATEST&p=deb"

### Installing

Expand Down
6 changes: 3 additions & 3 deletions doc/examples/mocks/mock-iotagent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.orange.cepheus</groupId>
<artifactId>mock-iotagent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>com.orange.cepheus</groupId>
<artifactId>cepheus-ngsi</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -38,4 +38,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
6 changes: 3 additions & 3 deletions doc/examples/mocks/mock-orion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.orange.cepheus</groupId>
<artifactId>mock-orion</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>com.orange.cepheus</groupId>
<artifactId>cepheus-ngsi</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -40,4 +40,4 @@
</build>


</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<root level="${log-level:-INFO}">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
</configuration>
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FROM java:8-jre
MAINTAINER FIWARE Cepheus Team

ENV CEPHEUS_VERSION 0.1.1-SNAPSHOT
ENV CEPHEUS_REPO snapshots
ENV CEPHEUS_VERSION 0.1.1
ENV CEPHEUS_REPO releases

# Install Supervisor
RUN apt-get update && apt-get install -y supervisor wget
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.orange.cepheus</groupId>
<artifactId>cepheus</artifactId>
<packaging>pom</packaging>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
<modules>
<module>cepheus-ngsi</module>
<module>cepheus-cep</module>
Expand Down
10 changes: 5 additions & 5 deletions scripts/post-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ NEWVERSION="$2"
git checkout master
git branch -D release

# Replace {version}-SNAPSHOT by {NEWVERSION} except ci-release.sh
find . -name "*.xml" -type f -exec sed -i '' "s/$OLDVERSION-SNAPSHOT/$NEWVERSION-SNAPSHOT/g" {} \;
find . -name "*.md" -type f -exec sed -i '' "s/$OLDVERSION-SNAPSHOT/$NEWVERSION-SNAPSHOT/g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s/$OLDVERSION-SNAPSHOT/$NEWVERSION-SNAPSHOT/g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s/$OLDVERSION-SNAPSHOT/$NEWVERSION-SNAPSHOT/g" {} \;
# Replace {version} by {NEWVERSION} except ci-release.sh
find . -name "*.xml" -type f -exec sed -i '' "s/$OLDVERSION/$NEWVERSION/g" {} \;
find . -name "*.md" -type f -exec sed -i '' "s/$OLDVERSION/$NEWVERSION/g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s/$OLDVERSION/$NEWVERSION/g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s/$OLDVERSION/$NEWVERSION/g" {} \;

# Push modifications
git commit -m "prepare $NEWVERSION"
Expand Down
18 changes: 9 additions & 9 deletions scripts/pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ git pull origin master
git branch -f release master
git checkout release

# Replace {version}-SNAPSHOT by {version} except ci-release.sh
find . -name "*.xml" -type f -exec sed -i '' "s/-SNAPSHOT//g" {} \;
find . -name "*.md" -type f -exec sed -i '' "s/-SNAPSHOT//g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s/-SNAPSHOT//g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s/-SNAPSHOT//g" {} \;
# Replace {version} by {version} except ci-release.sh
find . -name "*.xml" -type f -exec sed -i '' "s///g" {} \;
find . -name "*.md" -type f -exec sed -i '' "s///g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s///g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s///g" {} \;

# Replace snapshots by releases except in .xml files
find . -name "*.md" -type f -exec sed -i '' "s/snapshots/releases/g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s/snapshots/releases/g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s/snapshots/releases/g" {} \;
# Replace releases by releases except in .xml files
find . -name "*.md" -type f -exec sed -i '' "s/releases/releases/g" {} \;
find . -name "Dockerfile" -type f -exec sed -i '' "s/releases/releases/g" {} \;
find . -name "*.sh" ! -name 'ci-release.sh' -type f -exec sed -i '' "s/releases/releases/g" {} \;

# Push modifications
git commit -a -m "prepare $VERSION"
Expand Down
2 changes: 1 addition & 1 deletion settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
</properties>
</profile>
</profiles>
</settings>
</settings>

0 comments on commit 7342fa8

Please sign in to comment.