Skip to content

Commit 8dd0743

Browse files
author
Frank Schmid
committed
Updated README
1 parent 4cfc106 commit 8dd0743

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ function parameters (memory, etc.) cannot be changed for a deployed version
4040
by accident, as it can be done with the `$LATEST` qualifier.
4141
This adds an additional level of stability to your deployment process.
4242

43+
## Deploy a single function
44+
45+
The plugin supports `serverless deploy function` and moves the alias to the
46+
updated function version. However you must specify the `--force` switch on the
47+
commandline to enforce Serverless to deploy a new function ZIP regardless, if the
48+
code has changed or not. This is necessary to prevent setting the alias to a
49+
version of the function that has been deployed by another developer.
50+
4351
## Deploy an alias
4452

4553
To deploy an alias to a stage, just add the `--alias` option to `serverless deploy`
@@ -460,6 +468,9 @@ and _serverless.service.provider.deployedAliasTemplates[]_.
460468

461469
## Version history
462470

471+
* 1.5.0
472+
* Support `serverless deploy function` [#29](https://github.com/HyperBrain/serverless-aws-alias/issues/29)
473+
463474
* 1.4.1
464475
* Fixed crash when using logs --tail
465476

0 commit comments

Comments
 (0)