Skip to content

feat(releases): create comp and composable to fetch one by tag#31

Merged
Tahul merged 6 commits intomainfrom
feat/release-by-tag
Jul 26, 2022
Merged

feat(releases): create comp and composable to fetch one by tag#31
Tahul merged 6 commits intomainfrom
feat/release-by-tag

Conversation

@larbish
Copy link
Contributor

@larbish larbish commented Jul 22, 2022

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

New component GithubRelease and new composable fetchRelease that takes a GithubReleaseQuery as query params.

export interface GithubReleaseQuery extends GithubRepositoryOptions {
  tag?: string
} 

Refacto: Remove /last-release route and call /releases with different params to fetch last release or release by tag.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@larbish larbish requested a review from Tahul July 22, 2022 16:40
@netlify
Copy link

netlify bot commented Jul 25, 2022

Deploy Preview for nuxt-github-module failed.

Name Link
🔨 Latest commit 077bda1
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-github-module/deploys/62e07be9f89e0800088efd06

@Tahul Tahul merged commit 96bd428 into main Jul 26, 2022
@Tahul Tahul deleted the feat/release-by-tag branch July 26, 2022 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants