Skip to content

Commit

Permalink
Enable release-drafter
Browse files Browse the repository at this point in the history
Also add release notes for version 3.1, which weren't here before.
  • Loading branch information
mtughan committed Jun 10, 2021
1 parent f176c1e commit fe36769
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_extends: .github
tag-template: scriptler-$NEXT_MINOR_VERSION
16 changes: 16 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Automates creation of Release Drafts using Release Drafter
# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 17 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
# CHANGELOG

## Newer releases

See [GitHub Releases](https://github.com/jenkinsci/scriptler-plugin/releases)

## 3.1

Release date: _Sep. 27, 2019_

- [PR #35](https://github.com/jenkinsci/scriptler-plugin/pull/35) Close
`FileReader` resources when reading in script from disk (thanks
[@pault1337](https://github.com/pault1337)!)

## 3.0-alpha

Release date: _Oct. 10, 2018_

This release is available via the experimental update
center: <https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/>
center: <https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/>

- [JENKINS-44242](https://issues.jenkins-ci.org/browse/JENKINS-44242) Persistent
- [JENKINS-44242](https://issues.jenkins-ci.org/browse/JENKINS-44242) Persistent
cross-site scripting
- [JENKINS-44243](https://issues.jenkins-ci.org/browse/JENKINS-44243)Script
- [JENKINS-44243](https://issues.jenkins-ci.org/browse/JENKINS-44243) Script
management vulnerable to Cross-Site Request Forgery attacks
- [JENKINS-44245](https://issues.jenkins-ci.org/browse/JENKINS-44245) Scriptler
- [JENKINS-44245](https://issues.jenkins-ci.org/browse/JENKINS-44245) Scriptler
Plugin allows any Scriptler script to be executed as build step

## 2.9

Release date: _Oct. 28, 2015_

- [JENKINS-29332](https://issues.jenkins-ci.org/browse/JENKINS-29332) disabled
- [JENKINS-29332](https://issues.jenkins-ci.org/browse/JENKINS-29332) disabled
scritplerweb script catalog
- fix NPE when uploading a script [PR
\#22](https://github.com/jenkinsci/scriptler-plugin/pull/22)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ allows you to ease your daily work with the Jenkins script console.

Scriptler adds a new link to the manage Jenkins page:


![](docs/images/screen-capture-1.gif)

From within the Scriptlers view, you can create ("Add a new Script") or
Expand Down Expand Up @@ -139,7 +138,7 @@ return "TODAY is: ${d.toString()} - build number is: ${build.number}"

since version 1.7, one can also run a script using GET or POST to the
URL */scriptler/run/\<your-script-id\>* with the optional
parameters node, script (alternative script text), contentType, and the
parameters node, script (alternative script text), contentType, and the
parameters defined for your stored script.

e.g.
Expand Down

0 comments on commit fe36769

Please sign in to comment.