Skip to content

Commit 4e0880e

Browse files
chenli12138chenli
andauthored
Add Moodle release workflow
Co-authored-by: chenli <[email protected]>
1 parent daef4df commit 4e0880e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .github/workflows/moodle-release.yml
2+
name: Releasing in the Plugins directory
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- 'version.php'
10+
11+
jobs:
12+
release:
13+
uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-310-plus-release.yml@main
14+
with:
15+
plugin_name: tool_passwordvalidator
16+
secrets:
17+
moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }}

version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
defined('MOODLE_INTERNAL') || die();
2626

27-
$plugin->version = 2023091101;
27+
$plugin->version = 2024110700;
2828
$plugin->release = $plugin->version;
2929
$plugin->requires = 2016052300;
3030
$plugin->component = 'tool_passwordvalidator';

0 commit comments

Comments
 (0)