Skip to content

Commit

Permalink
1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Aug 5, 2015
1 parent 1c8d6ea commit 49a7cb6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CHANGELOG

## 1.0.0 - 2015-08-05

* Initial release of the AWS Bundle.
* Added Symfony support for v3 of the AWS SDK for PHP.
22 changes: 21 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,24 @@ test: clean-tests
vendor/bin/phpunit

clean-tests:
rm -rf tests/fixtures/cache/*
rm -rf "tests/fixtures/cache/*"

# Ensures that the TAG variable was passed to the make command
check-tag:
$(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1"))

# Creates a release but does not push it. This task updates the changelog
# with the TAG environment variable, replaces the VERSION constant, ensures
# that the source is still valid after updating, commits the changelog and
# updated VERSION constant, creates an annotated git tag using chag, and
# prints out a diff of the last commit.
tag: check-tag test
@echo Tagging $(TAG)
chag update $(TAG)
sed -i '' -e "s/VERSION = '.*'/VERSION = '$(TAG)'/" src/AwsBundle.php
php -l src/AwsBundle.php
git commit -a -m '$(TAG) release'
chag tag
@echo "Release has been created. Push using 'make release'"
@echo "Changes made in the release commit"
git diff HEAD~1 HEAD
2 changes: 1 addition & 1 deletion src/AwsBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

class AwsBundle extends Bundle
{
const VERSION = '0.2.0';
const VERSION = '1.0.0';
}

0 comments on commit 49a7cb6

Please sign in to comment.