

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 發佈現有應用程式的新版本
<a name="serverlessrepo-how-to-publish-new-version"></a>

本節說明如何 AWS Serverless Application Repository 使用 CLI AWS SAM 或 ，將現有應用程式的新版本發佈至 AWS 管理主控台。如需發佈新應用程式的指示，請參閱[如何發佈應用程式](serverlessrepo-how-to-publish.md)。

## 發佈現有應用程式的新版本 (AWS CLI)
<a name="serverlessrepo-how-to-publish-new-version-cli"></a>

發佈現有應用程式新版本的最簡單方法是使用一組 CLI AWS SAM 命令。如需詳細資訊，請參閱《*AWS Serverless Application Model (AWS SAM) 開發人員指南*》中的[使用 AWS SAM CLI 發佈應用程式](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html)。

## 發佈現有應用程式的新版本 (主控台)
<a name="serverlessrepo-how-to-publish-new-version-console"></a>

若要發佈您先前已發佈之應用程式的新版本，請依照下列步驟執行：

1. 開啟 [AWS Serverless Application Repository 主控台](https://console.aws.amazon.com/serverlessrepo/home)。

1. 在導覽窗格中，選擇 **My Applications (我的應用程式)** 帶出您已建立的應用程式清單。

1. 選擇您想要發佈新版本的應用程式。

1. 選擇 **Publish new version (發佈新版本)**。

1. 在 **Versions (版本)** 中，輸入下列應用程式資訊：    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/serverlessrepo/latest/devguide/serverlessrepo-how-to-publish-new-version.html)

1. 選擇 **Publish version (發佈版本)**。