File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed
Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1+ # CHANGELOG
2+
3+ ## 1.0.0 - 2015-08-05
4+
5+ * Initial release of the AWS Bundle.
6+ * Added Symfony support for v3 of the AWS SDK for PHP.
Original file line number Diff line number Diff line change @@ -2,4 +2,24 @@ test: clean-tests
22 vendor/bin/phpunit
33
44clean-tests :
5- rm -rf tests/fixtures/cache/*
5+ rm -rf " tests/fixtures/cache/*"
6+
7+ # Ensures that the TAG variable was passed to the make command
8+ check-tag :
9+ $(if $(TAG ) ,,$(error TAG is not defined. Pass via "make tag TAG=4.2.1") )
10+
11+ # Creates a release but does not push it. This task updates the changelog
12+ # with the TAG environment variable, replaces the VERSION constant, ensures
13+ # that the source is still valid after updating, commits the changelog and
14+ # updated VERSION constant, creates an annotated git tag using chag, and
15+ # prints out a diff of the last commit.
16+ tag : check-tag test
17+ @echo Tagging $(TAG )
18+ chag update $(TAG )
19+ sed -i ' ' -e " s/VERSION = '.*'/VERSION = '$( TAG) '/" src/AwsBundle.php
20+ php -l src/AwsBundle.php
21+ git commit -a -m ' $(TAG) release'
22+ chag tag
23+ @echo " Release has been created. Push using 'make release'"
24+ @echo " Changes made in the release commit"
25+ git diff HEAD~1 HEAD
Original file line number Diff line number Diff line change 66
77class AwsBundle extends Bundle
88{
9- const VERSION = '0.2 .0 ' ;
9+ const VERSION = '1.0 .0 ' ;
1010}
You can’t perform that action at this time.
0 commit comments