Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
644eb54
[package-cleanup] package.json cleanup and manifest cleanup (#11)
GuiLeme Apr 24, 2025
b2a9e4f
Bump http-proxy-middleware in the npm_and_yarn group across 1 directo…
dependabot[bot] May 21, 2025
73a9dc6
chore: set version to 0.0.1
antobinary May 21, 2025
71db5f8
Update changelog
antobinary Aug 19, 2025
d9730e7
Update control
antobinary Aug 19, 2025
b6aa9bb
[add-more-info-template] added locales and a react boilerplate to sta…
GuiLeme Oct 21, 2025
0b4e068
[add-more-info-template] corrected some vulnerabilities
GuiLeme Oct 21, 2025
0ef26c7
ref: Added more information to the react boilerplate (#19)
antobinary Oct 21, 2025
6191d35
chore: replaces deprecated `onBeforeSetupMiddleware` webpack hook
Arthurk12 Nov 5, 2025
7ad9006
Update old repository name references from plugin-template to bbb-plu…
Copilot Apr 16, 2026
84e0a37
Merge pull request #23 from bigbluebutton/copilot/check-repository-na…
antobinary Apr 16, 2026
0b8cf12
Merge pull request #21 from Arthurk12/patch-1
antobinary Apr 24, 2026
fb53dcf
chore: update names to bbb-plugin-template after repository rename
Copilot Apr 24, 2026
2298c21
Merge pull request #24 from bigbluebutton/copilot/update-repository-n…
antobinary Apr 24, 2026
2e23705
[ci-set-version] added set manifest version to the CI.
GuiLeme Jun 4, 2026
94b3444
Merge pull request #25 from GuiLeme/ci-set-version
GuiLeme Jun 4, 2026
97e9160
[ci-set-version] follow with pick-random-user's code
GuiLeme Jun 4, 2026
37f4f0b
Merge pull request #26 from GuiLeme/ci-set-version
GuiLeme Jun 4, 2026
abab5a5
chore: update CI from bbb-plugin-template v0.0.x
GuiLeme Jun 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/ISSUE_TEMPLATE/bigbluebutton-plugin-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,23 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**BBB version, plugin in which The bug happened and SDK version:**
Please specify the version of BigBlueButton and the version of the plugin/SDK used.
BigBlueButton continually evolves. Providing the version/build helps us to pinpoint when an issue was introduced.
Example:
$ sudo bbb-conf --check | grep BigBlueButton
BigBlueButton Server 2.2.2 (1816)

The SDK version is mentioned in the package.json file of the plugin, so search for "bigbluebutton-html-plugin-sdk" inside that file.

**Desktop (please complete the following information):**
- OS: [e.g. Windows, Mac]
- Browser [e.g. Chrome, Safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, Safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
141 changes: 48 additions & 93 deletions .github/workflows/publish-tag.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cut a new tag (also auto updates package.json, package-lock.json, manifest.json, debian/changelog)
name: Cut a new tag (also auto updates package.json and package-lock.json)

on:
workflow_dispatch:
Expand All @@ -13,95 +13,50 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Get triggering user's email
run: |
user_email=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/users/${{ github.actor }} | jq -r '.email')
if [ -z "$user_email" ] || [ "$user_email" == "null" ]; then
user_email="github-actions@github.com"
fi
echo "user_email=$user_email" >> $GITHUB_ENV

- name: Configure Git with the triggering user's info
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"

- name: Bump version, update manifest, update debian changelog, commit and tag
run: |
set -euo pipefail

# 1) Install deps
npm install

# 2) Bump package.json + package-lock.json but DO NOT commit/tag yet
npm version ${{ github.event.inputs.release_type }} --no-git-tag-version

# 3) Read the new version from package.json
NEW_VERSION=$(node -p "require('./package.json').version")
echo "New version is: $NEW_VERSION"

# 4) Update manifest.json's "version" field to match
jq --arg v "$NEW_VERSION" '.version = $v' manifest.json > manifest.json.tmp
mv manifest.json.tmp manifest.json

# 5) Update debian/changelog
#
# - Get package name from existing changelog (first token on first line)
# - Collect commit messages since the last tag (if any), otherwise all commits
# - Prepend a new stanza with the new version and those commits
#
PKG_NAME="$(head -n1 debian/changelog | awk '{print $1}')"

# Commits since last tag (if exists)
if git describe --tags --abbrev=0 >/dev/null 2>&1; then
LAST_TAG="$(git describe --tags --abbrev=0)"
COMMITS=$(git log --pretty='* %s (%h)' "${LAST_TAG}..HEAD")
else
COMMITS=$(git log --pretty='* %s (%h)')
fi

# Fallback if no commits for some reason
if [ -z "$COMMITS" ]; then
COMMITS="* Automated release v$NEW_VERSION"
fi

# Author info for changelog footer
AUTHOR_NAME="${{ github.actor }}"
AUTHOR_EMAIL="${{ env.user_email }}"

# Debian-style date (RFC 2822)
DATE_STR="$(date -R)"

# Prepend new entry to debian/changelog
{
echo "${PKG_NAME} (${NEW_VERSION}) jammy; urgency=medium"
echo
echo "${COMMITS}" | sed 's/^/* /' | sed 's/^* \*/*/' # ensure lines start with "* "
echo
echo " -- ${AUTHOR_NAME} <${AUTHOR_EMAIL}> ${DATE_STR}"
echo
cat debian/changelog
} > debian/changelog.new

mv debian/changelog.new debian/changelog

echo "Updated debian/changelog:"
head -n 20 debian/changelog

# 6) Commit everything and create an annotated tag
git add package.json package-lock.json manifest.json debian/changelog
git commit -m "chore: bump version to $NEW_VERSION"
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"

# 7) Push commit and tag
git push --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Get triggering user's email
run: |
user_email=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/users/${{ github.actor }} | jq -r '.email')
if [ -z "$user_email" ] || [ "$user_email" == "null" ]; then
user_email="github-actions@github.com"
fi
echo "user_email=$user_email" >> $GITHUB_ENV

- name: Configure Git with the triggering user's info
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"

- name: Bump version, update manifest, commit and tag
run: |
set -euo pipefail

npm install

# 1) Bump package.json + package-lock.json but DO NOT commit/tag yet
npm version ${{ github.event.inputs.release_type }} --no-git-tag-version

# 2) Read the new version from package.json
NEW_VERSION=$(node -p "require('./package.json').version")
echo "New version is: $NEW_VERSION"

# 3) Update manifest.json's "version" field to match
jq --arg v "$NEW_VERSION" '.version = $v' manifest.json > manifest.json.tmp
mv manifest.json.tmp manifest.json

# 4) Commit everything and create an annotated tag
git add package.json package-lock.json manifest.json
git commit -m "chore: bump version to $NEW_VERSION"
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"

# 5) Push commit and tag
git push --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading