Skip to content

Commit

Permalink
Bump version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgilchrist committed Feb 6, 2020
1 parent 19331ed commit b313a38
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 46 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.2: (24-01-2020)
----------
- Maintenance

1.1 (13-11-2018)
----------

Expand Down
33 changes: 8 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ uninstall:
clean:
rm -rf _build *.install

update-version:
scripts/update-version

.PHONY: endpoints

endpoints:
Expand Down Expand Up @@ -48,30 +45,16 @@ $(LIBRARIES): aws-%:

gen: build aws-ec2 $(LIBRARIES)

# mv libraries/ssm/aws_ssm.opam .
# mv libraries/cloudwatch/aws_cloudwatch.opam .
# mv libraries/s3/aws_s3.opam .
# mv libraries/elasticloadbalancing/aws_elasticloadbalancing.opam .
# mv libraries/cloudtrail/aws_cloudtrail.opam .
# mv libraries/sdb/aws_sdb.opam .
# mv libraries/autoscaling/aws_autoscaling.opam .
# mv libraries/cloudformation/aws_cloudformation.opam .
# mv libraries/elasticache/aws_elasticache.opam .
# mv libraries/rds/aws_rds.opam .
# mv libraries/sts/aws_sts.opam .
# mv libraries/route53/aws_route53.opam .
# mv libraries/ec2/aws_ec2.opam .
update-version: VERSION=$(shell cat CHANGES.md | grep -E '^[0-9]' | head -n 1 | cut -f1 -d':' )
update-version:
@echo "Set version to $(VERSION)"
@gsed -i 's/^version: .*/version: "$(VERSION)"/' *.opam
@gsed -i 's/"\(aws-s3[-a-z]*\)"[ ]*{= .*}/"\1" {= "$(VERSION)" }/' *.opam

# TODO Something like this
# update-version: VERSION=$(shell cat CHANGES.md | grep -E '^[0-9]' | head -n 1 | cut -f1 -d':' )
# update-version:
# @echo "Set version to $(VERSION)"
# @sed -i 's/^version: .*/version: "$(VERSION)"/' *.opam
# @sed -i 's/"\(aws-s3[-a-z]*\)"[ ]*{= .*}/"\1" {= "$(VERSION)" }/' *.opam

# release: VERSION=$(shell cat Changelog | grep -E '^[0-9]' | head -n 1 | cut -f1 -d':')
# release: update-version
# opam publish
update-version: VERSION=$(shell cat CHANGES.md | grep -E '^[0-9]' | head -n 1 | cut -f1 -d':' )
release: update-version
opam publish
#
#
# Before this run `dune-release tag <VERSION>`
Expand Down
2 changes: 1 addition & 1 deletion aws_autoscaling.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Auto Scaling"
description: "Amazon Web Services SDK bindings to Auto Scaling"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_cloudformation.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to AWS CloudFormation"
description: "Amazon Web Services SDK bindings to AWS CloudFormation"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_cloudtrail.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to AWS CloudTrail"
description: "Amazon Web Services SDK bindings to AWS CloudTrail"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_cloudwatch.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon CloudWatch"
description: "Amazon Web Services SDK bindings to Amazon CloudWatch"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_ec2.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Elastic Compute Cloud"
description: "Amazon Web Services SDK bindings to Amazon Elastic Compute Cloud"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_elasticache.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon ElastiCache"
description: "Amazon Web Services SDK bindings to Amazon ElastiCache"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_elasticloadbalancing.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Elastic Load Balancing"
description: "Amazon Web Services SDK bindings to Elastic Load Balancing"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_rds.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Relational Database Service"
description: "Amazon Web Services SDK bindings to Amazon Relational Database Service"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_route53.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Route 53"
description: "Amazon Web Services SDK bindings to Amazon Route 53"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_s3.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Simple Storage Service"
description: "Amazon Web Services SDK bindings to Amazon Simple Storage Service"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_sdb.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon SimpleDB"
description: "Amazon Web Services SDK bindings to Amazon SimpleDB"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_sqs.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Simple Queue Service"
description: "Amazon Web Services SDK bindings to Amazon Simple Queue Service"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_ssm.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to Amazon Simple Systems Management Service"
description: "Amazon Web Services SDK bindings to Amazon Simple Systems Management Service"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
2 changes: 1 addition & 1 deletion aws_sts.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: [ "Spiros Eliopoulos <[email protected]>"
]
synopsis: "Amazon Web Services SDK bindings to AWS Security Token Service"
description: "Amazon Web Services SDK bindings to AWS Security Token Service"
version: "1.1"
version: "1.2"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-aws.git"
Expand Down
7 changes: 0 additions & 7 deletions scripts/update-version

This file was deleted.

0 comments on commit b313a38

Please sign in to comment.