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

fix(docs): upload versions.json #1521

Merged
merged 1 commit into from
Jun 20, 2023
Merged

fix(docs): upload versions.json #1521

merged 1 commit into from
Jun 20, 2023

Conversation

sthulb
Copy link
Contributor

@sthulb sthulb commented Jun 20, 2023

Description of your changes

I've added a new stanza to reusable_publish_docs.yml to ensure the versions.json is created.

Related issues, RFCs

Issue number: #1520

Checklist

  • My changes meet the tenets criteria
  • I have performed a self-review of my own code
  • I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my change is effective and works
  • The PR title follows the conventional commit semantics

Breaking change checklist

Is it a breaking change?: NO

  • I have documented the migration process
  • I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@sthulb sthulb requested a review from a team June 20, 2023 13:49
@github-actions github-actions bot added the bug Something isn't working label Jun 20, 2023
s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-typescript/versions.json \
versions_old.json
jq '. += [{"version": "${{ env.VERSION }}", "title": "${{ env.VERSION }}", "aliases": []}]' < versions_old.json > versions.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the latest alias?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not needed, as far as I can see, the latest alias doesn't show in the list

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let's try without and see

@dreamorosi dreamorosi self-requested a review June 20, 2023 14:43
@dreamorosi dreamorosi merged commit 84b029a into main Jun 20, 2023
@dreamorosi dreamorosi deleted the docs-version branch June 20, 2023 14:43
@dreamorosi dreamorosi linked an issue Jun 20, 2023 that may be closed by this pull request
@dreamorosi dreamorosi mentioned this pull request Jun 20, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Docs doesn't upload versions.json when being updated
2 participants