Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removing the automatic push to master on tagRevision target #12

Merged
merged 2 commits into from

2 participants

@lukewilde

Pushing to master is unnecessary if you're deploying a feature branch to a testing environment and it isn't necessary for pushing tags.

@serby serby merged commit db1109d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/clock/MaidenClockCommon.php
View
6 examples/clock/MaidenClockCommon.php
@@ -73,7 +73,7 @@ public function addVhostToApache($environmentName) {
}
$this->logger->log("Adding vhost $environment->domain to apache: {$vhostPath}");
-
+
symlink("{$environment->path}/{$this->properties->application->vhostPath}", "{$vhostPath}");
}
@@ -83,7 +83,7 @@ public function addVhostToApache($environmentName) {
public function tagRevision($version) {
$this->logger->log("Tagging revision {$version}");
$this->exec("git tag {$version}");
- $this->exec("git push --tags origin master");
+ $this->exec("git push --tags");
}
/**
* Builds the project ready for deployement
@@ -193,7 +193,7 @@ public function install($environmentName, $version) {
$this->logger->log("Remoing existing symlink", Logger::LEVEL_DEBUG);
unlink($environment->path);
}
-
+
$this->logger->log("Creating symlink from '$actualPath' to '{$environment->path}'");
symlink($actualPath, $environment->path);
Something went wrong with that request. Please try again.