Skip to content

Commit 49a7cb6

Browse files
committed
1.0.0 release
1 parent 1c8d6ea commit 49a7cb6

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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.

Makefile

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,24 @@ test: clean-tests
22
vendor/bin/phpunit
33

44
clean-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

src/AwsBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
class AwsBundle extends Bundle
88
{
9-
const VERSION = '0.2.0';
9+
const VERSION = '1.0.0';
1010
}

0 commit comments

Comments
 (0)