Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.29.1 #1280

Closed
11 of 17 tasks
adriansmares opened this issue Mar 5, 2024 · 1 comment · Fixed by #1282
Closed
11 of 17 tasks

Release v3.29.1 #1280

adriansmares opened this issue Mar 5, 2024 · 1 comment · Fixed by #1282
Assignees
Labels
Milestone

Comments

@adriansmares
Copy link
Contributor

adriansmares commented Mar 5, 2024

Overview

This is a checklist for releases. This is filled in by both the releaser and the reviewer where necessary.

Update Documentation

$ tools/bin/mage ttiProto:hugoData
  • Copy generated files to lorawan-stack-docs by running the following commands in lorawan-stack-docs:
$ rsync --recursive --delete --remove-source-files ../lorawan-stack/api/ttn.lorawan.v3/ ./doc/data/api/ttn.lorawan.v3/
$ rsync --recursive --delete --remove-source-files ../lorawan-stack/api/tti.lorawan.v3/ ./doc/data/api/tti.lorawan.v3/

NOTE: This assumes that the parent directory of lorawan-stack-docs also contains lorawan-stack. If not, you'll need to adjust the commands accordingly.

$ go build -tags tti ./cmd/tti-lw-cli
  • Then export the CLI documentation using following commands:
$ HOME='$HOME' ./tti-lw-cli gen-md-doc -o ../lorawan-stack-docs/doc/content/ttn-lw-cli
$ HOME='$HOME' ./tti-lw-cli gen-json-tree -o ../lorawan-stack-docs/doc/data/commands
  • Replace links to end-devices/templates with templates as they are not exported correctly:
$ sed -i.bak 's/end-devices_templates/templates/g' ../lorawan-stack-docs/doc/content/ttn-lw-cli/ttn-lw-cli_end-devices.md
  • Clean up:
$ rm ../lorawan-stack-docs/doc/content/ttn-lw-cli/ttn-lw-cli_end-devices.md.bak

NOTE: This assumes that the parent directory of lorawan-stack-docs also contains lorawan-stack. If not, you'll need to adjust the commands accordingly.

Check (for reviewers)

doc/data/api/tti.lorawan.v3/messages.yml
doc/data/api/tti.lorawan.v3/services.yml
doc/data/api/tti.lorawan.v3/enums.yml
doc/data/api/ttn.lorawan.v3/messages.yml
doc/data/api/ttn.lorawan.v3/services.yml
doc/data/api/ttn.lorawan.v3/enums.yml
  • The TTI CLI documentation has been generated and updated in doc/data. This includes the following files:
doc/data/commands/ttn-lw-cli.json
doc/content/ttn-lw-cli/*.md
  • All generated documentation matches the version that is being released.
@adriansmares adriansmares added this to the Mar 2024 milestone Mar 5, 2024
@github-actions github-actions bot added the needs/triage We still need to triage this label Mar 5, 2024
@KrishnaIyer
Copy link
Contributor

@nejraselimovic: When you run ttiProto:hugoData, a tt.swagger.json file is extra created. Please remove this file before you sync assets. For future releases, this process of syncing files will be automated. Ref: https://github.com/TheThingsIndustries/lorawan-stack/pull/4041

@KrishnaIyer KrishnaIyer removed the needs/triage We still need to triage this label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants