You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/01/23 22:14:38 UTC
[royale-asjs] branch develop updated: setup npm for next release
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 070e555 setup npm for next release
070e555 is described below
commit 070e5551211c25392e3ac6a31e58ea241159edc7
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jan 23 14:14:26 2018 -0800
setup npm for next release
---
npm/package.json | 4 ++--
package.json | 4 ++--
releasecandidate.xml | 33 +++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/npm/package.json b/npm/package.json
index 6cc9ca9..1cd5ab6 100644
--- a/npm/package.json
+++ b/npm/package.json
@@ -1,5 +1,5 @@
{
- "name": "royale",
+ "name": "apache-royale",
"version": "0.9.1",
"description": "Apache Royale (formerly FlexJS)",
"keywords": [
@@ -15,7 +15,7 @@
"reactjs"
],
"homepage": "http://royale.apache.org",
- "author": "OmPrakash Muppirala <bi...@apache.org>",
+ "author": "Apache Royale <de...@royale.apache.org>",
"license": "Apache-2.0",
"dependencies": {
"eol": "^0.2.0",
diff --git a/package.json b/package.json
index 88e9d23..6018832 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "royale-swf",
+ "name": "apache-royale-swf",
"version": "0.9.1",
"description": "Apache Royale (formerly FlexJS) with SWF support",
"keywords": [
@@ -15,7 +15,7 @@
"reactjs"
],
"homepage": "http://royale.apache.org",
- "author": "OmPrakash Muppirala <bi...@apache.org>",
+ "author": "Apache Flex <de...@royale.apache.org>",
"license": "Apache-2.0",
"dependencies": {
"eol": "^0.2.0",
diff --git a/releasecandidate.xml b/releasecandidate.xml
index 345f272..35fe1d3 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -1095,6 +1095,7 @@ ${my.name}
<antcall target="update.versions" />
<antcall target="merge_rc_to_develop" />
<antcall target="release.maven.staging.repo" />
+ <echo>Also run the release.npm and release.npm.swf targets</echo>
</target>
<target name="release.tag" depends="check-royale-asjs, check-royale-typedefs, check-royale-compiler">
@@ -1339,4 +1340,36 @@ ${my.name}
</exec>
</target>
+ <target name="release.npm" depends="check-name-and-svn">
+ <input
+ message="To publish the npm artifacts, you must first run 'npm login' and login as apache-royale with the password from the private@ list and the email private@royale.apache.org. Press any key to continue"/>
+ <available file="${svn.dist.release}"
+ type="dir"
+ property="dist.release" value="${svn.dist.release}" />
+
+ <fail message="The svn.dist.release property is not set to the working copy for https://dist.apache.org/repos/dist/release."
+ unless="dist.release"/>
+
+ <exec executable="npm" failonerror="true">
+ <arg value="publish" />
+ <arg value="${dist.release}/royale/${release.version}/binaries/apache-royale-${release.version}-bin-js.tar.gz" />
+ </exec>
+ </target>
+
+ <target name="release.npm.swf" depends="check-name-and-svn">
+ <input
+ message="To publish the npm artifacts, you must first run 'npm login' and login as apache-royale-swf with the password from the private@ list and the email private@royale.apache.org. Press any key to continue"/>
+ <available file="${svn.dist.release}"
+ type="dir"
+ property="dist.release" value="${svn.dist.release}" />
+
+ <fail message="The svn.dist.release property is not set to the working copy for https://dist.apache.org/repos/dist/release."
+ unless="dist.release"/>
+
+ <exec executable="npm" failonerror="true">
+ <arg value="publish" />
+ <arg value="${dist.release}/royale/${release.version}/binaries/apache-royale-${release.version}-bin-js-swf.tar.gz" />
+ </exec>
+ </target>
+
</project>
--
To stop receiving notification emails like this one, please contact
aharui@apache.org.