Skip to content

Commit 3b33362

Browse files
committed
Add a feature and to pipeline
1 parent b126265 commit 3b33362

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

.github/workflows/build-tag.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ jobs:
3535
git commit -m "Release $VERSION"
3636
git tag "$VERSION"
3737
git push --tags
38+
prepare-dev:
39+
name: Prepare next dev release
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout code
43+
uses: actions/checkout@v3
44+
- name: Update Development Branch
45+
run: bash ./bin/prepare-dev.sh

.phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
3232
<properties>
3333
<!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
34-
<property name="prefixes" type="array" value="rossums-universal-robots"/>
34+
<property name="prefixes" type="array" value="rur"/>
3535
</properties>
3636
</rule>
3737
<rule ref="WordPress.WP.I18n">

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the robots hard at work.
1414
## Changelog
1515

1616
### 0.1.1-dev
17+
* Set Counter to 0 [19](https://github.com/pantheon-systems/plugin-pipeline-example/pull/19)
1718

1819
### 0.1.0 (6 June 2023)
1920
* Initial Release [[1](https://github.com/pantheon-systems/plugin-pipeline-example/pull/1)]

rossums-universal-robots.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@
1212
* @package Rossums_Universal_Robots
1313
*/
1414

15-
// Your code starts here.
15+
/**
16+
* Returns an int. It's a feature.
17+
*
18+
* @return int An integer.
19+
* @since 0.1.1-dev
20+
*/
21+
function rur_counter() {
22+
return 0;
23+
}

0 commit comments

Comments
 (0)