Skip to content

Commit

Permalink
Merge pull request #447 from RoadieHQ/fix-release-for-home-plugins
Browse files Browse the repository at this point in the history
Fix release for home plugins
  • Loading branch information
kissmikijr authored Mar 10, 2022
2 parents 9239fa1 + 7cc0485 commit 46e0de9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-cooks-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roadiehq/backstage-plugin-home-markdown': patch
---

update readme
1 change: 1 addition & 0 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ jobs:
with:
# Calls out to `changeset version`, but also runs prettier
version: yarn release
title: Version Packages - plugins
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/weekly-check-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
signoff: false
branch: update-dependencies-${{ steps.current-time.outputs.formattedTime }}
delete-branch: true
title: 'Update dependencies'
title: 'Update Dependencies - plugins'
base: main
body: |
Update backstage dependencies
Expand Down
3 changes: 2 additions & 1 deletion plugins/home/backstage-plugin-home-markdown/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Markdown Home page plugin

A react component that renders a markdown file from github as a homepage component. You can configure the plugin to point to a remote markdown file in github and it will fetch that markdown file and render it inside a card componenet.
A react component that renders a markdown file from github as a homepage component. You'll need to log in to github to be able to fetch the markdown.
You can configure the plugin to point to a remote markdown file in github and it will fetch that markdown file and render it inside a card componenet.
It fetches on every render but it caches based on the etag that gets returned by the github api.

For the resources (links & images) currently you should use absolute urls. For example:
Expand Down
6 changes: 5 additions & 1 deletion scripts/check-if-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ async function main() {
);
const packageList = diff
.split('\n')
.filter(path => path.match(/^(packages|plugins\/backend|plugins\/frontend|plugins\/scaffolder-actions|utils)\/[^/]+\/package\.json$/));
.filter(path =>
path.match(
/^(packages|plugins\/backend|plugins\/frontend|plugins\/scaffolder-actions|utils|plugins\/home)\/[^/]+\/package\.json$/,
),
);

const packageVersions = await Promise.all(
packageList.map(async path => {
Expand Down

0 comments on commit 46e0de9

Please sign in to comment.