[mule-ide-dev] [547] branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh: default to the snapshot URL, this is a safeguard to prevent accidential overwrite of the release update site

View: New views
1 Messages — Rating Filter:   Alert me  

[mule-ide-dev] [547] branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh: default to the snapshot URL, this is a safeguard to prevent accidential overwrite of the release update site

by dirk-44 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
[547] branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh: default to the snapshot URL, this is a safeguard to prevent accidential overwrite of the release update site
Revision
547
Author
dirk
Date
2009-11-03 19:34:02 -0600 (Tue, 03 Nov 2009)

Log Message

default to the snapshot URL, this is a safeguard to prevent accidential overwrite of the release update site

Modified Paths

Diff

Modified: branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh (546 => 547)

--- branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh	2009-10-27 11:21:25 UTC (rev 546)
+++ branches/muleide-2.0.0/src/main/update-site/forgeUpload.sh	2009-11-04 01:34:02 UTC (rev 547)
@@ -3,6 +3,9 @@
 # Script for automatic upload to the forge
 #
 
+SNAPSHOT_URL="https://dav.muleforge.org/snapshots.dist/mule-ide/"
+RELEASE_URL="https://dav.muleforge.org/dist/mule-ide/"
+
 function processArgs()
 {
     until [ -z "$1" ]
@@ -19,7 +22,7 @@
                 ;;
 
             --snapshot)
-                URL="https://dav.muleforge.org/snapshots.dist/mule-ide/"
+                URL=${SNAPSHOT_URL}
                 ;;
 
             *)
@@ -159,7 +162,7 @@
 #
 # main
 #
-URL="https://dav.muleforge.org/dist/mule-ide/"
+URL=${RELEASE_URL}
 USER=
 PASSWORD=
 BACKUP_SUFFIX=".upload-bak"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MuleForge Dev" group.
To post to this group, send email to muleforgedev@...
To unsubscribe from this group, send email to muleforgedev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en
-~----------~----~----~----~------~----~------~--~---
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://admin.muleforge.org/manage_email