# 发布新版本

默认情况下，每次有新的 [发布](https://help.github.com/articles/about-releases) 时，Zenodo 都会存档你的 GitHub 仓库。要对此进行测试，请回到主仓库视图，然后单击 **releases** 标题项。

![仓库](https://guides.github.com/activities/citable-code/repo-view.png)

除非你之前已为此仓库发布了版本，否则系统会要求你**创建新版本**。继续单击此按钮并填写新的发布表单。

![发布版本](https://guides.github.com/activities/citable-code/create-release.png)

如果这是你的代码的第一个版本，那么你应该给它一个版本号 `v1.0.0`。填写发行说明，然后单击 **Publish release** 按钮。

![第一个发布](https://guides.github.com/activities/citable-code/first-release.png)

### 检查一切是否生效

发布新版本将触发 Zenodo 归档你的仓库。你可以通过单击 Zenodo 配置文件中的 **Upload** 选项卡来确认此过程已发生。你应该会在右侧面板中看到新的上传内容。

![上传](https://guides.github.com/activities/citable-code/upload-tab.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://github.highlight.ink/making-your-code-citable/create-a-new-release.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
